Windows – Command line prompt will not change directory to the C:\ prompt

cmd.execommand linewindowswindows 10

I want to start using the command prompt feature (Windows 10) but the prompt starts out as C:\Users\owner. The cd command doesn't move up a level. I want to get to C:\Program Files, but I can't get to the C:\ prompt, or even C:\Users prompt. I don't get an error message, it just outputs C:\Users\owner.

Running Command Prompt as an administrator doesn't help. That just give me a C:\WINDOWS\system32, where cd doesn't turn the prompt into C:\WINDOWS.

Anyone know how to fix this?

Best Answer

I am sure if you know the right path you will be able to traverse to that path with the cd command. Anyway you can still do one of the following:

  1. Go to the folder (using file explorer) you want to work around in through CMD, copy the address from the address bar and paste it in a command prompt after cd . For example: cd C:\path\to\folder.

  2. You can also go to the desired folder (again using file explorer), right click ---> Open command prompt here.

Related Question