0

I have been trying to get command prompt to change directory to any of the folders on my desktop, but it keeps on saying, "The system can not find the path specified." It changes to desktop via:

cd desktop

but it doesn't work for any other folders.

image of desktop and command promptClick to enlarge

New contributor
Shahmir S is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • 1
    what do you see if you type dir? it will show you what folders and files are present. Also you can use the tab key to autocomplete names. – LPChip Jul 12 at 13:35
3

There are multiple locations that feed icons into your "Desktop." For example C:\Users\Public\Public Desktop is one.

enter image description here

To figure out where that Program folder really is, right click the folder on your desktop, then click Properties, then click the Security tab. At the top you will see the actual path of the folder.

If you go back to your cmd prompt, you can change directories to that folder instead.

New contributor
Lumberjack is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
  • Thank you so much! – Shahmir S Jul 12 at 13:46
  • @ShahmirS You're welcome! Glad I could help. :) – Lumberjack Jul 12 at 13:46

Your Answer

Shahmir S is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.