Common CMD commands under Windows

  • Drive letter c:,d:,e:
  • Enter the specified directory: cd D:\python1801 (if the directory to be entered is not under the same drive letter as the current one, you must cut the drive letter first)
  • Return to the upper directory: cd ..
  • Return to the root directory: cd /,cd \
  • Clear screen: cls
  • Browse the current directory: dir
  • Notepad: notepad
  • Drawing: mspaint
  • Calculator: calc
  • control panel: control
  • Task Manager: taskmgr
  • Open the executable file in the current directory: .\QQ.exe
  • Open the file in the current directory: notepad .\hosts
  • Query IP information: ipconfig

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325474333&siteId=291194637
Recommended