命令 说明 assoc .<ext>=<filetype> 显示/修改文件扩展名与文件类型的关联 ftype <filetype>=<open cmd> 显示/修改文件类型与打开程序的关联 attrib <+/-> <attribute> 显示/修改文件的属性(只读/系统/归档/隐藏) cd <dir> 切换目录 move <options> <src> <dst> 移动/重命名文件或目录 copy <options> <src> <dst> xcopy <src> <dst> <options> 拷贝文件或目录 del <options> <files> erase <options> <files> 删除文件 dir <path> <options> 列出指定目录下的内容 cipher <option> <file/dir> 显示/修改 NTFS 卷上的目录和文件的加密 comp <file1> <file2> <options> 比较任意类型文件file1和file2的内容 fc <options> <file1> <file2> 比较二进制或Ascii文本类型的文件file1和file2 find <string> <file> 在文件中搜索字符串string findstr <string> <file> 在文件中搜索字符串string,支持正则查找 more <file> 分页显示文件内容 sort <file> 排序文件内容行 type <file> 显示文件内容 where <options> <location> <file> 在指定location搜索file |
|