JAVA study notes 20/10/9 commonly used DOS commands

How to open CMD

  1. Start+system+command prompt

  2. Win key + R enter cmd to open the console (recommended)

  3. Under any folder, hold down the shift key + right-click the mouse to open the command line window here

  4. Add the cmd path in front of the address bar of the resource manager

  5. Run as administrator: choose to run as administrator

Commonly used Dos commands

1 #盘符切换 X:回车
2 #查看当前目录下的所有文件 dir
3 #切换目录 cd change directory (cd /d) (cd ..)
4 #清理屏幕 cls clear screen
5 #退出终端 exit
6 #查看IP ipconfig
7 #打开应用 calc计算器 mspaint画图 notepad记事本
8 #创建文件夹 md 删除文件夹 rd
9 #创建文件 cd> 删除文件 del

Guess you like

Origin blog.csdn.net/qq_44685947/article/details/108970596