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

Open a Folder in Cmd Open a Folder in Command Prompt (CMD)
Change Directories in Command Prompt Navigate to a Different Folder in the Command Prompt
Use MS DOS Use MS DOS
Navigate the Windows DirectoryNavigate the Windows Directory
Copy Files in Command PromptCopy Files in Command Prompt
Run a Batch File from the Command Line on Windows Run a Windows Batch File from the Command Line (CMD)
List Every File on Your Hard Drive See Every File On Your Computer in CMD (Command Prompt)
Use the Command Terminal in Windows 10 to Move and Copy Files/Folders Use the Windows 10 CLI to Move & Copy Files or Folders
Run a Program on Command Prompt Run a Program at the Windows Command Prompt: 2 Ways
Find All Commands of CMD in Your Computer Display and Use CMD Commands: A List and Guide
Run an EXE File From Command PromptRun an EXE File From the Command Prompt on Windows 10 & 11
Open the Command Prompt in Windows6 Simple Ways to Open the Command Line in Windows
Copy Files to USB Using CMD Copy Files to a USB Using Command Prompt (CMD)
Create and Delete Files and Directories from Windows Command PromptCreate and Delete Files and Directories from Windows 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 489,144 times.
How helpful is this?
Co-authors: 5
Updated: July 30, 2024
Views: 489,144
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 489,144 times.

Is this article up to date?

Did this article help you? Say thanks with a small tip.
icon
$1
$3
$5
Leave a Tip
Support our mission to help everyone in the world learn how to do anything.
Advertisement