Open folder in Command Prompt (CMD)

Do you need to access a certain folder from the command prompt or Windows Command Prompt? Although it looks classic, this program is really easy to use if you know some basic commands. Today's TipsMake will show you how to use the 'cd' command to open a folder in Windows Command Prompt. Besides, you will also learn great tips to immediately open the command prompt in any folder on Windows File Explorer.

Use File Explorer

Picture 1 of Open folder in Command Prompt (CMD)

Press ⊞ Win+E to open File Explorer. File Explorer is the default file browser on Windows. To open File Explorer, press the Windows key and "E" at the same time.

Picture 2 of Open folder in Command Prompt (CMD)

Go to the folder you want to open in Command Prompt. Use File Explorer to browse for the folder you want to open. Then, click the folder to open it.

Picture 3 of Open folder in Command Prompt (CMD)

Enter cmdin the address bar and press ↵ Enter. A new Command Prompt window will open in the folder you have open in File Explorer.

Use File Explorer's context menu

Picture 4 of Open folder in Command Prompt (CMD)

Press ⊞ Win+E to open File Explorer. File Explorer is the default file browser on Windows. To open File Explorer, press the Windows key and "E" at the same time.

Picture 5 of Open folder in Command Prompt (CMD)

Navigate to the folder you want to open in Command Prompt. Use the File Explorer left pane and go to the folder you want to open. Then, click the folder to open it.

Picture 6 of Open folder in Command Prompt (CMD)

Hold down the key ⇧ Shiftand right-click any empty space in the folder. A context menu will appear next to the mouse pointer.

Picture 7 of Open folder in Command Prompt (CMD)

Click Open command window here. Command Prompt will open in the current directory.

On later versions of Windows, the above option has changed to Open PowerShell window here. PowerShell is a more advanced version of Command Prompt. Most commands that work in Command Prompt will also work in PowerShell.

Use Command Prompt commands

Picture 8 of Open folder in Command Prompt (CMD)

Click the Windows Start button. This button resembles the Windows logo and is located in the lower left corner by default. The Windows Start menu opens.

Picture 9 of Open folder in Command Prompt (CMD)

Import CMD. Command Prompt will appear in the Windows Start menu.

Picture 10 of Open folder in Command Prompt (CMD)

Click the Command Prompt icon. The program has a black screen icon with a white text cursor. Click the Command Prompt icon in the Windows Start menu to open Command Prompt.

Picture 11 of Open folder in Command Prompt (CMD)

Enter the drive containing the folder to open and press ↵ Enter. If the folder you want to open is on a drive other than the drive where Windows is installed, you need to switch to that drive in Command Prompt. To do this, enter the letter of the drive's name followed by a colon (for example, "D:") and press Enter .

You only need to do this step if the folder you want to open is not on the drive where Windows is installed (usually the "C:" drive).

Picture 12 of Open folder in Command Prompt (CMD)

Enter cdalong with distance. The "cd" command is used to change directories in Windows Command Prompt. Type "cd" with a space, but don't press Enter yet .

Picture 13 of Open folder in Command Prompt (CMD)

Enter the folder address followed by a space, then press ↵ Enter. You need to include all folders and subfolders within them by adding a backslash ("") in front of each folder name. For example: "cd UsersusernameDocuments."

If you are unsure about the folder path, you can navigate to that folder on File Explorer. Next, right-click the address bar at the top and then click Copy address as text . You can then press Ctrl + V to paste the folder path directly after the "cd" command in Command Prompt.

Update 20 June 2024
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile