恢复控制台:修订间差异

删除26字节 、​ 2024 年 9 月 15 日 (星期日)
(创建页面,内容为“{{Infobox Windows component |name = Windows 恢复控制台 |type = 恢复工具 |introduced in = Windows 2000 |last included in = Windows Server 2003 |replaced by = Windows 恢复环境 |caption = Windows XP 中的恢复控制台 |screenshot = Xpcmdcons.png }} 恢复控制台是 Windows 2000Windows XPWindows Server 2003 安装介质中包含的诊断工具,可用于修复阻止启动到完整 Windows 环境的系统错误……”)
 
第 14 行: 第 14 行:
[[Windows Vista]] 用基于 [[Windows 预安装环境|WinPE]] 的 [[Windows 恢复环境]]取代了恢复控制台,此环境具有完整的图形界面,并在向导中实现了大多数相同的功能。
[[Windows Vista]] 用基于 [[Windows 预安装环境|WinPE]] 的 [[Windows 恢复环境]]取代了恢复控制台,此环境具有完整的图形界面,并在向导中实现了大多数相同的功能。


==Commands==
== 命令 ==
The Recovery Console supports many Command Prompt commands as well as includes some custom ones, which can be broken down into several categories.
恢复控制台支持许多命令提示符命令,并包含一些自定义命令,这些命令可以分为几个类别。
 
=== Command Prompt counterparts ===
=== Command Prompt counterparts ===
The following commands share largely the same behavior with Command Prompt built-in commands, mostly dealing with file management:
The following commands share largely the same behavior with Command Prompt built-in commands, mostly dealing with file management:
第 32 行: 第 31 行:
* <code>SET</code> – sets or prints environment variables
* <code>SET</code> – sets or prints environment variables
* <code>TYPE</code>/<code>MORE</code>{{efn|The <code>MORE</code> command is recognized only as an alias for the <code>TYPE</code> command, which does not entirely match its usual syntax. Notably, it cannot be used to optionally paginate the output of a command; however, the output of all commands is already paginated automatically, removing the need for the command.}} – prints the contents of a file
* <code>TYPE</code>/<code>MORE</code>{{efn|The <code>MORE</code> command is recognized only as an alias for the <code>TYPE</code> command, which does not entirely match its usual syntax. Notably, it cannot be used to optionally paginate the output of a command; however, the output of all commands is already paginated automatically, removing the need for the command.}} – prints the contents of a file
=== 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):
第 41 行: 第 39 行:
* <code>FORMAT</code> – formats a volume
* <code>FORMAT</code> – formats a volume
* <code>NET</code> – connects to a network share{{efn|The usability of the command is disputed, as there are no network stacks loaded in the Recovery Console.}}
* <code>NET</code> – connects to a network share{{efn|The usability of the command is disputed, as there are no network stacks loaded in the Recovery Console.}}
=== Exclusive to the Recovery Console ===
=== Exclusive to the Recovery Console ===
The following commands are exclusive to the Recovery Console:
The following commands are exclusive to the Recovery Console: