Download Article
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] X Research source
Steps
-
Open the Command prompt . You can usually find it by typing “command” into the search bar and selecting it in the search results. [2] X Research source
-
Type in the name of the file you want to see. 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] X Research sourceAdvertisement
-
Type . cd.. into the prompt. After you press Enter , this command tells the program to navigate back to the previous folder. [4] X Research source
- It’s important you type the two dots, since you won’t navigate anywhere if you simply type “cd” into the prompt.
-
Type cd \ into the prompt to go back to the directory. If you need to navigate from a location back to the main command prompt, this command takes you back immediately. [5] X Research source
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!
References
- ↑ https://kb.wisc.edu/helpdesk/page.php?id=903
- ↑ https://grok.lsu.edu/article.aspx?articleid=13578
- ↑ https://finance.uw.edu/recmgt/resources/list-your-folder-structure-windows
- ↑ https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/cd
- ↑ https://www3.ntu.edu.sg/home/ehchua/programming/howto/CMD_Survival.html
About This Article
Article Summary
X
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 464,363 times.
Advertisement