How to change Directories in Windows 10 Command Prompt

One of the very first aspects you will need to learn when you get to know Command Prompt on Windows 10 is how to modify the directories in the file system of the operating system. There are a couple of ways to do that. In this article, we will guide you through the different methods to switch directories in Windows 10 Command Prompt.

Switch directories in Windows 10 Command Prompt

Click the Search button on the taskbar. Type Run in the search box and then click the Run option as the following image is showing.

As soon as you click the Run option, the following dialogue box will appear.

When you will click the OK button, the Command Prompt editor will appear as the following image is showing.

To switch directories in Windows 10 Command Prompt, follow any of these procedures step by step.

Method #1

Type cd in the Command Prompt editor and then locate the folder which you want to open in the Command Prompt. Drag and drop the folder in the Command Prompt editor as the following image is showing.

When you will drop the folder, it will open the folder as the following image is showing.

Now press the Enter key and you will move to the selected directory as the following image is showing.

C:\Users\User\AppData\Local\Temp\SNAGHTMLa1dde97.PNG

Method #2

You are in the user folder and the directory Documents is in the next file path. To move to that directory you can write the following command in the Command Prompt editor.

cd Documents

The following image is showing it.

C:\Users\User\AppData\Local\Temp\SNAGHTMLa23ae04.PNG

If you want to move to further some folder you need to type cd <folder name>. Then press the Enter key as the following image is showing.

There is one more option to move to the required folder in one command. For that type the following command in the Command Prompt editor.

cd Document\<folder name>

Then press the Enter key and you will be in that directory as the following image is showing.

C:\Users\User\AppData\Local\Temp\SNAGHTMLa2d3bf1.PNG

Method #3

To move back to previous directory type cd.. as the following image is showing.

Conclusion

By following these procedures, you will be able to switch Directories in Windows 10 Command Prompt.

Leave a Comment

*