DOS命令
打开cmd的方式
- 开始 系统 命令提示符
- Win + R
- 在任意的文件夹下,按住shift + 鼠标右键,在此处打开powershell窗口
- 资源管理器的地址栏前面加上cmd路径
常用的DOS命令
# 盘符切换
d:
e:
f:
# 查看当前目录下的所有文件
dir
# 切换目录
cd
cd /d f:\HLG
* /是参数的, \是文件的
cd ..
# clear screen
cls
# exit window
exit
# ip address
ipconfig
# open app
calc
mspaint
notepad
# ping
ping www.baidu.com
# make directory
md test
# make file
cd>a.txt
# delete file
del a.txt
# delete directory
rd test