Commonly used command line commands in Windows systems

1. Enter

Enter the drive letter and just write the drive letter directly. For example, to enter the d drive, write d:
to enter the folder, use cd plus the full path of the folder, you must first enter the drive letter before entering the folder. For example, enter the Program Files folder on drive d, write d: and then cd D:\Program Files

2.Return

Return to the upper directory: cd...
Return to the root directory of this drive: cd
Exit the command line interface: exit
Clear screen: cls

3. View

View directory content: dir
View text file content (Chinese characters may be garbled): type + file path

4. Create, copy, delete

Create folder: mkdir/md
Copy file: copy test.txt test3.txt
Delete file: del
Delete folder: rd

Guess you like

Origin blog.csdn.net/zxc514257857/article/details/121102413