How to Open a Folder in Command Prompt (CMD) (2024)

  • Categories
  • Computers and Electronics
  • Operating Systems
  • Windows
  • Command Prompt

Download Article

Explore this Article

methods

1Using File Explorer

2Using the File Explorer Context Menu

3Using Command Prompt Commands

Other Sections

Video

Related Articles

Expert Interview

References

Article Summary

Co-authored byStan Katsand Darlene Antonelli, MA

Last Updated: April 7, 2024Fact Checked

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

Download Article

  1. 1

    Press Win+E to open File Explorer

    . File Explorer is the default file browser for Windows. To open File Explorer, press the Windows key and "E" at the same time.[1]

  2. 2

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

    Advertisem*nt

  3. 3

    Type cmd in the address bar and press Enter. This opens a new Command Prompt window inside the folder you currently have open in File Explorer.[2]

  4. Advertisem*nt

Method 2

Method 2 of 3:

Using the File Explorer Context Menu

Download Article

  1. 1

    Press Win+E to open File Explorer

    . File Explorer is the default file browser for Windows. To open File Explorer, press the Windows key and "E" at the same time.

  2. 2

    Navigate to the folder you want to open in Command Prompt. Using the panel on the left side of File Explorer, click the folder you want to open. Then click the folder to open it.

  3. 3

    Hold Shift and right-click any blank space in the folder. This displays a context menu next to your mouse cursor.[3]

  4. 4

    Click Open command window here. 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.
  5. Advertisem*nt

Method 3

Method 3 of 3:

Using Command Prompt Commands

Download Article

  1. 1

    Click the Windows Start button

    . It's the icon that has the Windows logo. It is in the lower-left corner by default. This opens the Windows Start menu.

  2. 2

    Type CMD. This displays the Command Prompt in the Windows Start menu.

  3. 3

    Click the Command Prompt icon

    . It has an icon that resembles a black screen with a white text cursor. Click the Command Prompt icon in the Windows Start menu to open Command Prompt.[5]

  4. 4

    Type the drive the folder is in and press Enter. 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.)
  5. 5

    Type cd followed by a space. 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.

  6. 6

    Type the address of the folder after the space and press Enter. 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.
  7. Advertisem*nt

Expert Q&A

Ask a Question

200 characters left

Include your email address to get a message when this question is answered.

Submit

      Advertisem*nt

      Video

      Tips

      Submit a Tip

      All tip submissions are carefully reviewed before being published

      Name

      Please provide your name and last initial

      Submit

      Thanks for submitting a tip for review!

      You Might Also Like

      How to Navigate to a Different Folder in the Command PromptHow to Format a USB Using CMD (Command Prompt)
      How to Change a Windows Password Using Command PromptHow toAdd Users from CMDHow toUse Windows Command Prompt to Run a Python FileHow toReboot from Command Prompt on WindowsHow to Run a Windows Batch File from the Command Line (CMD)How toCopy Files in Command PromptHow toUse Net SendHow to Run an EXE File at the Windows Command PromptHow toWatch Star Wars on Command Prompt3 Ways to Open Command Prompt with Keyboard on Windows5 Simple Ways to Open the Command Prompt in WindowsHow toGo Back Using the Command Prompt

      Advertisem*nt

      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

      How to Open a Folder in Command Prompt (CMD) (38)

      Co-authored by:

      Stan Kats

      Cybersecurity Expert

      This article was co-authored by Stan Kats and by wikiHow staff writer, Darlene Antonelli, MA. Stan Kats is the COO and Chief Technologist for The STG IT Consulting Group in West Hollywood, California. Stan provides comprehensive technology & cybersecurity solutions to businesses through managed IT services, and for individuals through his consumer service business, Stan's Tech Garage. Stan has over 7 years of cybersecurity experience, holding senior positions in information security at General Motors, AIG, and Aramark over his career. Stan received a BA in International Relations from The University of Southern California. This article has been viewed 481,376 times.

      How helpful is this?

      Co-authors: 11

      Updated: April 7, 2024

      Views:481,376

      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?

      In other languages

      French

      Hindi

      Indonesian

      Dutch

      Portuguese

      Thai

      Spanish

      Korean

      Arabic

      Chinese

      • Print
      • Send fan mail to authors

      Thanks to all authors for creating a page that has been read 481,376 times.

      Is this article up to date?

      Advertisem*nt

      How to Open a Folder in Command Prompt (CMD) (2024)
      Top Articles
      How To Get A Certificate Of Good Standing In Your State
      The Future of Cryptocurrency in India
      Cranes For Sale in United States| IronPlanet
      Duralast Gold Cv Axle
      Mcgeorge Academic Calendar
      Danielle Moodie-Mills Net Worth
      Instructional Resources
      Erika Kullberg Wikipedia
      Retro Ride Teardrop
      Joe Gorga Zodiac Sign
      2021 Lexus IS for sale - Richardson, TX - craigslist
      Used Wood Cook Stoves For Sale Craigslist
      REVIEW - Empire of Sin
      Trini Sandwich Crossword Clue
      Seattle Rpz
      Craigslist Edmond Oklahoma
      Mflwer
      Odfl4Us Driver Login
      CDL Rostermania 2023-2024 | News, Rumors & Every Confirmed Roster
      Indiana Wesleyan Transcripts
      Craigslist Pearl Ms
      Roane County Arrests Today
      Cain Toyota Vehicles
      Hctc Speed Test
      Delectable Birthday Dyes
      Booknet.com Contract Marriage 2
      Craigslist List Albuquerque: Your Ultimate Guide to Buying, Selling, and Finding Everything - First Republic Craigslist
      Darrell Waltrip Off Road Center
      January 8 Jesus Calling
      Craigslist Rome Ny
      Doctors of Optometry - Westchester Mall | Trusted Eye Doctors in White Plains, NY
      Robotization Deviantart
      Wolfwalkers 123Movies
      Co10 Unr
      Mchoul Funeral Home Of Fishkill Inc. Services
      Greyson Alexander Thorn
      Willys Pickup For Sale Craigslist
      134 Paige St. Owego Ny
      Strange World Showtimes Near Regal Edwards West Covina
      Waffle House Gift Card Cvs
      Weather Underground Bonita Springs
      Bernie Platt, former Cherry Hill mayor and funeral home magnate, has died at 90
      Best Restaurants Minocqua
      Winta Zesu Net Worth
      [Teen Titans] Starfire In Heat - Chapter 1 - Umbrelloid - Teen Titans
      Ucla Basketball Bruinzone
      Bf273-11K-Cl
      Automatic Vehicle Accident Detection and Messageing System – IJERT
      The Plug Las Vegas Dispensary
      Gear Bicycle Sales Butler Pa
      The Significance Of The Haitian Revolution Was That It Weegy
      Provincial Freeman (Toronto and Chatham, ON: Mary Ann Shadd Cary (October 9, 1823 – June 5, 1893)), November 3, 1855, p. 1
      Latest Posts
      Article information

      Author: Aracelis Kilback

      Last Updated:

      Views: 6495

      Rating: 4.3 / 5 (64 voted)

      Reviews: 95% of readers found this page helpful

      Author information

      Name: Aracelis Kilback

      Birthday: 1994-11-22

      Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

      Phone: +5992291857476

      Job: Legal Officer

      Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

      Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.