→Command Prompt counterparts
正义羊-JRJSheep(讨论 | 贡献) |
正义羊-JRJSheep(讨论 | 贡献) |
||
| 第 16 行: | 第 16 行: | ||
== 命令 == | == 命令 == | ||
恢复控制台支持许多命令提示符命令,并包含一些自定义命令,这些命令可以分为几个类别。 | 恢复控制台支持许多命令提示符命令,并包含一些自定义命令,这些命令可以分为几个类别。 | ||
=== | === 命令提示符对应项 === | ||
以下命令的行为与命令提示符内置命令大致相同,主要处理文件管理: | |||
* <code>ATTRIB</code> – | * <code>ATTRIB</code> – 操作文件属性 | ||
* <code>CD</code>/<code>CHDIR</code> – | * <code>CD</code>/<code>CHDIR</code> – 更改或打印当前工作目录 | ||
* <code>CLS</code> – | * <code>CLS</code> – 清除屏幕 | ||
* <code>COPY</code> – | * <code>COPY</code> – 复制文件 | ||
* <code>DEL</code>/<code>DELETE</code> – | * <code>DEL</code>/<code>DELETE</code> – 删除文件 | ||
* <code>DIR</code> – | * <code>DIR</code> – 打印目录的内容 | ||
* <code>EXIT</code> – | * <code>EXIT</code> – 退出故障恢复控制台并重新启动计算机 | ||
* <code>HELP</code> – | * <code>HELP</code> – 打印支持的命令列表或有关其用法的详细信息 | ||
* <code>MD</code>/<code>MKDIR</code> – | * <code>MD</code>/<code>MKDIR</code> – 创建目录 | ||
* <code>RD</code>/<code>RMDIR</code> – | * <code>RD</code>/<code>RMDIR</code> – 删除目录 | ||
* <code>REN</code>/<code>RENAME</code> – | * <code>REN</code>/<code>RENAME</code> – 重命名文件或目录 | ||
* <code>SET</code> – | * <code>SET</code> – 设置或输出环境变量 | ||
* <code>TYPE</code>/<code>MORE</code>{{efn| | * <code>TYPE</code>/<code>MORE</code>{{efn|<code>MORE</code> 命令仅被识别为 <code>TYPE</code> 命令的别名,此命令不完全匹配其通常的语法。值得注意的是,它不能用于选择性地对命令的输出进行分页;但是,由于所有命令的输出都已自动分页,因此不需要此命令。}} – 输出文件的内容 | ||
=== External command counterparts === | === External command counterparts === | ||
The following commands are similar to certain external commands included with Windows; however, they are not completely compatible with their regular counterparts' behavior (if at all): | The following commands are similar to certain external commands included with Windows; however, they are not completely compatible with their regular counterparts' behavior (if at all): | ||