Home>Article>Operation and Maintenance> 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.
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 .
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.
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!