问题
I have windows 8, and I'm using the command prompt. It says C:\Windows\System32>
and if i try to change directory, it says "The system cannot find the path specified."
In this case, im typing the exact following command: cd desktop
It works fine on my windows 7 computer. Why is it doing this?
回答1:
Because your desktop folder is not in c:\windows\system32. Presumably, your Windows 7 cmd prompt started you in your user folder instead of system32.
Try this instead.
cd %userprofile%\Desktop
来源:https://stackoverflow.com/questions/26748579/cd-command-wont-change-directory-comand-prompt