Dos notes of self-quizzes

Several ways to open DOS console

  1. Start system + + windows command prompt.

  2. Win key + R, type cmd open the console.

  3. In any folder, hold down the shift key + right mouse click, open a command window here.

  4. In front of the Explorer address bar plus cmd path ..

  5. Run as administrator mode.

Common Dos command

# + Colon switching disc drive letter 
columns such as: D: \> E: E: \> # view the current dir all files in the directory # Change directory cd change directory example: E: \> CD / D D: D: \ > D: \> CD / D E: \ Mysoft E: \ Mysoft> E: \ Mysoft> CD / D C: \ the Users \ KFXJ \ Desktop C: \ the Users \ KFXJ \ Desktop> # return a cd .. # clean up the Clear screen screen CLS # launch Exit # View the computer ipconfig ip # to open the application mspaint Calc mspaint notepad #ping command www.baidu.com the ping # delete files created C: \ the Users \ KFXJ \ Desktop> md the Test C: \ the Users \ KFXJ \ Desktop> the Test cd C: \ the Users \ KFXJ \ Desktop \ the Test> cd> a.txt C: \ the Users \ KFXJ \ Desktop \ the Test> del a.txt C: \ the Users \ KFXJ \ Desktop \ the Test> cd. .
























C: \ the Users \ KFXJ \ Desktop> RD Test
C: \ the Users \ KFXJ \ Desktop>
# move files
mov D: \ file.txt d: \ abs

 

Guess you like

Origin www.cnblogs.com/coffeexj/p/12015249.html
Dos