How to Go Back Using the Command Prompt
How to Go Back Using the Command Prompt
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.

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).

Type. cd.. into the prompt. After you press Enter, this command tells the program to navigate back to the previous folder. 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.

What's your reaction?

Comments

https://hapka.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!