Home>Article>Operation and Maintenance> What is the command in cmd to return to the previous directory?

What is the command in cmd to return to the previous directory?

王林
王林 Original
2020-06-17 15:09:07 26427browse

What is the command in cmd to return to the previous directory?

Command to return to the previous level: cd..

Command to return to the root directory: cd \

Example description:

Open the command prompt and enter the E:\project\node directory.

What is the command in cmd to return to the previous directory?

Return to the root directory

Enter ' cd \ ' in the cmd.exe pop-up box and press Enter to return to the root directory of the e drive .

What is the command in cmd to return to the previous directory?

Return to the previous level

Enter ' cd .. ' in the cmd.exe pop-up box and press Enter to return to the current directory Previous directory.

What is the command in cmd to return to the previous directory?

Recommended tutorial:windows tutorial

The above is the detailed content of What is the command in cmd to return to the previous directory?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn