PDF download Download Article PDF download Download Article

Do you need to go back a directory when browsing files through the Command Prompt? File navigation in Command Prompt might seem challenging at first, but once you learn some simple commands, it'll be easy to go back to a previous folder or move up a directory. This wikiHow article will teach you how to use the "cd.." command, which takes you back to the previous directory at the Windows Command Prompt.[1]

  1. Open the Command prompt. You can usually find it by typing “command” into the search bar and selecting it in the search results.[2]
  2. While in the command prompt menu, you can view any files on your computer in a text-only format by typing in the location (usually a disk) and the file name (including any extensions).[3]
    Advertisement
  3. cd.. into the prompt. After you press Enter, this command tells the program to navigate back to the previous folder.[4]
    • It’s important you type the two dots, since you won’t navigate anywhere if you simply type “cd” into the prompt.
  4. If you need to navigate from a location back to the main command prompt, this command takes you back immediately.[5]
  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

Navigate to a Different Folder in the Command Prompt
Format a USB Using CMD (Command Prompt)
Change a Windows Password Using Command Prompt
Open a Folder in Command Prompt (CMD)
Reboot from Command Prompt on Windows
Use Windows Command Prompt to Run a Python File
Add Users from CMD
Run a Windows Batch File from the Command Line (CMD)
5 Simple Ways to Open the Command Prompt in Windows
3 Ways to Open Command Prompt with Keyboard on Windows
Use Net Send
Merge Multiple Text Files in Command Prompt, Notepad, & More
Watch Star Wars via Telnet: Windows CMD & Mac Terminal
Copy Files in Command Prompt
Advertisement

About This Article

wikiHow Staff
Co-authored by:
wikiHow Staff Writer
This article was co-authored by wikiHow Staff. Our trained team of editors and researchers validate articles for accuracy and comprehensiveness. wikiHow's Content Management Team carefully monitors the work from our editorial staff to ensure that each article is backed by trusted research and meets our high quality standards. This article has been viewed 466,017 times.
How helpful is this?
Co-authors: 5
Updated: July 30, 2024
Views: 466,017
Categories: Command Prompt
Article SummaryX

1. Open the Command prompt.
2. Type cd.. Into the prompt.

Did this summary help you?

Thanks to all authors for creating a page that has been read 466,017 times.

Is this article up to date?

Advertisement