1. How to open a console
Method 1: Start > All Programs > Accessories > Command Prompt
Method 2: Start > Run > Enter cmd
2. Common dos commands
1. Operation folder
① dir [list all files and folders under the path where the current console is located]
② f: [enter F disk]
③ cd path [enter the specified path]
④ cd .. [return to the previous On the first level directory]
⑤ cd \ [return to the root directory under the current path]
⑥ md aaa [create a folder with a folder name aaa]
⑦ rd aaa [delete an empty folder with a folder name aaa. Note: cannot be used to delete non-empty folders]
2. Operation file
① echo data > file name [create a file and specify the data to be written]
② type file name [view the content of the specified file]
③ del file name [delete the specified file. Note: If del is followed by a folder, it deletes all files in a folder]
3. * [wildcard (can match any file name)]
4. Tab key [content completion]
5. cls [clear screen]
6. Up and down arrow keys [retrieve the last command written]
7, exit [close the console]