cd command won't change directory. Comand prompt

醉酒当歌 提交于 2019-12-08 04:46:42

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!