How to Return to Previous Page with Command Prompt

Table of contents:

How to Return to Previous Page with Command Prompt
How to Return to Previous Page with Command Prompt

Video: How to Return to Previous Page with Command Prompt

Video: How to Return to Previous Page with Command Prompt
Video: How to create new Database and Table in MySQL WorkBench 2024, November
Anonim

The command line or command prompt can be used to easily browse various files and directories on your computer. If you wish to return to the previous directory screen, the process is not difficult. This wikiHow teaches you how to return to the previous page with the command prompt.

Step

Go Back Using the Command Prompt Step 1
Go Back Using the Command Prompt Step 1

Step 1. Run Command prompt

You can find it by typing " command " in the search field and selecting it in the list of search results.

Go Back Using the Command Prompt Step 2
Go Back Using the Command Prompt Step 2

Step 2. Type in the name of the file you want to view

When in the command line menu, you can see any file on your computer in text by typing the location (usually on disk) and the file name (including the extension).

Go Back Using the Command Prompt Step 3
Go Back Using the Command Prompt Step 3

Step 3. Type

cd.. in the command line. After pressing Enter, this command will tell the program to return to the previous folder.

The two dots in the command are very important. You won't be redirected to any page if you just type "cd" on the command line

Go Back Using the Command Prompt Step 4
Go Back Using the Command Prompt Step 4

Step 4. Type cd\ in the command line to return to its directory

If you want to return from a location to the main command line page, you will return to that page directly by typing this command.

Recommended: