본문 바로가기
ops/other

[other] 윈도우 cmd에서 드라이브 이동하기

by seohan1010 2024. 11. 12.

 

 

 

 

c 드라이브에서 e 드라이브로 이동하려고 한다.

 

 

 

cd /d <이동할 드라이브>를 입력

 

 

 

e드라이브로 이동이 되었다.

 

 

아래의 글을 참고함

 

https://stackoverflow.com/questions/17420992/in-cmd-bat-i-can-change-dir-from-c-to-d-but-not-other-way-around

 

In CMD / .bat I can change dir from C to D but not other way around?

Ok so here is a copy-paste of my CMD window C:\Documents and Settings\Developer>cd /d "D:\" D:\>cd /c "C:\" The filename, directory name, or volume label syntax is incorrect. D:\> when I...

stackoverflow.com