Open folder in Command Prompt (CMD)
Use File Explorer
Open folder in Command Prompt (CMD) Picture 1
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.
Open folder in Command Prompt (CMD) Picture 2
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.
Open folder in Command Prompt (CMD) Picture 3
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
Open folder in Command Prompt (CMD) Picture 4
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.
Open folder in Command Prompt (CMD) Picture 5
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.
Open folder in Command Prompt (CMD) Picture 6
Hold down the key ⇧ Shiftand right-click any empty space in the folder. A context menu will appear next to the mouse pointer.
Open folder in Command Prompt (CMD) Picture 7
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
Open folder in Command Prompt (CMD) Picture 8
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.
Open folder in Command Prompt (CMD) Picture 9
Import CMD. Command Prompt will appear in the Windows Start menu.
Open folder in Command Prompt (CMD) Picture 10
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.
Open folder in Command Prompt (CMD) Picture 11
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).
Open folder in Command Prompt (CMD) Picture 12
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 .
Open folder in Command Prompt (CMD) Picture 13
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.
You should read it
- How to Open Folders in CMD
- How to Execute a Program in Command Prompt
- How to Change Directories in Command Prompt
- How to open Command Prompt on Windows 10, 8, 7, Vista and XP
- How to use the command history function in Command Prompt
- How to Open Terminal in Windows
- How to open Microsoft Word from Command Prompt
- How to open Microsoft Excel from Command Prompt
- How to Open a Command Line Program on Windows
- How to Open Command Prompt on Windows
- How to Make Command Prompt Appear at School
- Add Command Prompt to Power User Menu on Windows 10