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

1
  • 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, 2019 at 13:35

1 Answer 1

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.

2
  • Thank you so much!
    – Shahmir S
    Jul 12, 2019 at 13:46
  • @ShahmirS You're welcome! Glad I could help. :)
    – Lumberjack
    Jul 12, 2019 at 13:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .