PDF download Download Article PDF download Download Article

Do you need to access a certain folder at the Windows command prompt? The command prompt might seem archaic, but it's actually really easy once you learn some basic commands. This wikiHow article will show you how to use the "cd" command to open a folder at the Windows command prompt. We'll also show you a cool trick that will help you instantly open a command prompt from any folder using Windows File Explorer.

Method 1
Method 1 of 3:

Using File Explorer

PDF download Download Article
  1. Use File Explorer to browse to the folder you want to open. Then click the folder to open it.
    Advertisement
  2. This opens a new Command Prompt window inside the folder you currently have open in File Explorer.[2]
  3. Advertisement
Method 2
Method 2 of 3:

Using the File Explorer Context Menu

PDF download Download Article
  1. Using the panel on the left side of File Explorer, click the folder you want to open. Then click the folder to open it.
  2. This displays a context menu next to your mouse cursor.[3]
  3. This opens the Command Prompt inside the folder.[4]
    • On newer versions of Windows, this 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.
  4. Advertisement
Method 3
Method 3 of 3:

Using Command Prompt Commands

PDF download Download Article
  1. This displays the Command Prompt in the Windows Start menu.
  2. If the folder you want to open is on a different drive other than the drive your Windows operating system is installed on, you need to switch to that drive in Command Prompt. To do so, type the letter of the drive followed by a colon (e.g. "D:") and then press Enter.
    • You only need to do this if the folder is not located on the drive that Windows is installed on (which is usually the "C:" drive.)
  3. The "cd" command is used to change directories in the Windows command prompt. Type "cd" followed by a space, but do not press Enter just yet.
  4. You'll need to include every folder and sub-folder the folder is located in. Place a backslash ("\") in front of each folder name. For example; "cd \Users\username\Documents."[6]
    • If you are not sure what the path of the folder is, you can navigate to the folder in File Explorer. Right-click the address bar at the top and click Copy address as text. You can then press Ctrl + V to paste the path of the folder directly into Command Prompt right after the "cd" command.
  5. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Format a USB Using Cmd Format a USB Using CMD (Command Prompt)
Change a Computer Password Using Command Prompt Change a Windows Password Using Command Prompt
Reboot from Command Prompt on WindowsReboot from Command Prompt on Windows
Use Windows Command Prompt to Run a Python FileUse Windows Command Prompt to Run a Python File
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
Add Users from CMDAdd Users from CMD
Open Command Prompt with a Keyboard Shortcut (Windows 8, 8.1, and 10)3 Ways to Open Command Prompt with Keyboard on Windows
Open the Command Prompt in Windows5 Simple Ways to Open the Command Prompt in Windows
Watch Star Wars on Command Prompt Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Copy Files in Command PromptCopy Files in Command Prompt
Use Net SendUse Net Send
Merge Text (.Txt) Files in Command Prompt Merge Multiple Text Files in Command Prompt, Notepad, & More
Change the Computer Time and Date Using the Command PromptChange the Computer Time and Date Using the Command Prompt
Advertisement

Expert Interview

Thanks for reading our article! If you'd like to learn more about Computer Networking, check out our in-depth interview with Stan Kats.

About This Article

Stan Kats
Co-authored by:
Professional Technologist
This article was co-authored by Stan Kats and by wikiHow staff writer, Darlene Antonelli, MA. Stan Kats is a Professional Technologist and the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan holds a BA in International Relations from The University of Southern California. He began his career working in the Fortune 500 IT world. Stan founded his companies to offer an enterprise-level of expertise for small businesses and individuals. This article has been viewed 515,945 times.
How helpful is this?
Co-authors: 11
Updated: April 7, 2024
Views: 515,945
Categories: Command Prompt
Article SummaryX

1. Click the Windows Start menu and type "cmd".
2. Click the Command Prompt icon to open it.
3. Type "cd" followed by a space.
4. Type the address of the folder after the space (i.e. "/Users/username/Documents.")
5. Press Enter.

Did this summary help you?

Thanks to all authors for creating a page that has been read 515,945 times.

Is this article up to date?

Advertisement