- 常用打开方式:
- win + R键
- 右键
- 文件路径中“cmd 文件地址”
- 常用命令
# 盘符切换
D:
# 切换目录
cd file_directory
cd /d D:\file #跨盘符切换
# 查看当前目录下文件
dir
# 清屏
cls (clear screen)
# 退出终端
exit
# 查看IP
ipconfig
# 打开笔记本
notepad
# ping命令
ping www.google.com
# 创建文件夹(当前目录)
md test
# 创建文件
cd>a.txt
# 删除文件
del a.txt
# 移除目录
rd test