命令提示符(Command Prompt)也称为CMD,是 Windows 最基本的命令行工具,可以执行各种系统命令和批处理脚本。
常用命令
- dir:列出当前目录下的文件和文件夹。
dir - cd:改变当前目录。
cd \path\to\directory - copy:复制文件。
copy source.txt destination.txt - del:删除文件。
del filename.txt - move:移动或重命名文件。
move oldname.txt newname.txt - mkdir:创建新目录。
mkdir new_directory - rmdir:删除目录。
rmdir directory_name