성태의 닷넷 이야기
홈 주인
모아 놓은 자료
프로그래밍
질문/답변
사용자 관리
사용자
메뉴
아티클
외부 아티클
유용한 코드
온라인 기능
MathJax 입력기
최근 덧글
[정성태] Get Started with Milvus Vector DB i...
[정성태] cyberark/PipeViewer - A tool that...
[정성태] WinForms in a 64-Bit world – our st...
[정성태] 예제에서 SELECT_SQL도 내부적으로는 SqlCommand/...
[victor] SELECT_LINQ SELECT_SQL 같은 쿼리인...
[victor] 답변 갑사합니다. 예외(Exception)가 났습니다. ...
[정성태] 일단, 위의 방식대로 하면 예외(Exception) 없이 잘 동...
[정성태] Windows 10 (버전 1809)에 이런 기능이 ^^ 추가되...
[정성태] pde windbg extension ; https://lea...
[정성태] // GetEnumerator extensions for Ran...
글쓰기
제목
이름
암호
전자우편
HTML
홈페이지
유형
닷넷
.NET 3.0
.NET 3.5
.NET 4.0
VC++
개발 환경 구성
제품 소개
VS.NET IDE
Vista
Windows 7
Windows 8
Windows 서버
Team Foundation Server
IIS
디버깅 기술
Win32
64비트
오피스
웹
기타
Phone
부모글 보이기/감추기
내용
<div style='display: inline'> <h1 style='font-family: Malgun Gothic, Consolas; font-size: 20pt; color: #006699; text-align: center; font-weight: bold'>관리자 권한의 cmd.exe 단축아이콘 실행할 때 시작 폴더 지정</h1> <p> <br /> 관리자 권한인 경우, cmd.exe를 실행하면 단축 아이콘 설정의 "Start in:" 항목에 시작 폴더를 지정해도 "C:\Windows\system32" 폴더를 향하게 됩니다.<br /> <br /> 다행히 이에 대한 답이 있는데요.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > Windows 7: cmd.exe: setting startup directory (in a link to cmd.exe) ; <a target='tab' href='http://stackoverflow.com/questions/11269943/windows-7-cmd-exe-setting-startup-directory-in-a-link-to-cmd-exe'>http://stackoverflow.com/questions/11269943/windows-7-cmd-exe-setting-startup-directory-in-a-link-to-cmd-exe</a> </pre> <br /> 제 경우에 관리자 권한으로 실행된 cmd.exe를 실행한 경우 c:\temp 로 이동하고 싶었는데, 다음과 같이 설정해서 해결을 했습니다.<br /> <br /> <pre style='margin: 10px 0px 10px 10px; padding: 10px 0px 10px 10px; background-color: #fbedbb; overflow: auto; font-family: Consolas, Verdana;' > %windir%\system32\cmd.exe /K cd /d "c:\temp" </pre> <img alt='cmd_startup_1.png' src='/SysWebRes/bbs/cmd_startup_1.png' /><br /> </p><br /> </div>
첨부파일
스팸 방지용 인증 번호
1521
(왼쪽의 숫자를 입력해야 합니다.)