|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『楼 主』:
故障恢复控制台概述[转帖]
使用 LLM 解释/回答一下
故障恢复控制台概述
Windows 2000 故障恢复控制台是命令行控制台,可以从 Windows 2000 安装
程序启动。使用故障恢复控制台,可以启动和停止服务,格式化驱动器,在本地驱
动器上读写数据(包括被格式化为 NTFS 的驱动器),执行许多其他管理任务。如
果需要通过从软盘或 CD-ROM 复制一个文件到硬盘来修复系统,或者需要对一个阻
止计算机正常启动的服务进行重新配置,故障恢复控制台将特别有用。由于故障恢
复控制台非常强大,只有通晓 Windows 2000 的高级用户才能使用。除此之外必须
是管理员才能使用故障恢复控制台。
有两种方法启动故障恢复控制台:
1.如果不能启动计算机,可以从 Windows 2000 安装磁盘或者 Windows
2000 Professional CD 运行故障恢复控制台(如果可以从 CD-ROM 驱动器启动计
算机)。
2.作为备用选择,可以在计算机上安装故障恢复控制台,以便在不能重新启动
Windows 2000 时解决该问题。然后从可用操作系统列表选择故障恢复控制台。
在启动故障恢复控制台后,必须选择要登录的驱动器(如果有双重引导或者多重引
导系统)且必须用管理员密码登录。
有关启动和使用故障恢复控制台的详细信息,请参阅相关主题。除此之外,如
果使用 Windows 2000 Professional,请参阅 Windows 2000 Professional 入门
联机图书,或者 Windows 2000 CD 随附的《Windows 2000 Professional 入门》
图书。如果使用 Windows 2000 Server,请参阅“灾难恢复”的如何部分。
一旦运行故障恢复控制台,在命令提示符下键入“help”可获得关于可用命令
的帮助。
Overview of the Recovery Console
The Windows 2000 Recovery Console is a command-line console that can be started from the Windows 2000 installation program. Using the Recovery Console, you can start and stop services, format drives, read from and write to data on local drives (including drives formatted as NTFS), and perform many other administrative tasks. The Recovery Console is especially useful if you need to repair the system by copying a file from a floppy disk or CD-ROM to the hard disk, or if you need to reconfigure a service that is preventing the computer from starting normally. Because the Recovery Console is very powerful, only advanced users who are familiar with Windows 2000 should use it. In addition, you must be an administrator to use the Recovery Console.
There are two ways to start the Recovery Console:
1. If you cannot start your computer, you can run the Recovery Console from the Windows 2000 installation disk or the Windows 2000 Professional CD (if you can start your computer from the CD-ROM drive).
2. As an alternative, you can install the Recovery Console on your computer so that you can use it to fix problems if you cannot restart Windows 2000. Then select the Recovery Console from the list of available operating systems. After you start the Recovery Console, you must select the drive to log on to (if you have a dual-boot or multi-boot system) and you must log on with an administrator password.
For detailed information about starting and using the Recovery Console, see the appropriate topic. In addition, if you are using Windows 2000 Professional, see the Windows 2000 Professional Getting Started online book, or the Windows 2000 Professional Getting Started book that is included with the Windows 2000 CD. If you are using Windows 2000 Server, see the How To section of "Disaster Recovery."
Once you have started the Recovery Console, type "help" at the command prompt to get help about the available commands.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之一
Attrib
更改单个文件或目录的属性。该命令设置或删除指派给文件或目录的只读、系
统、存档、隐藏以及压缩属性。
下列 attrib 命令的参数只有在您使用 Windows 2000 的恢复控制台时才有效,
Windows 2000 恢复控制台可从 Windows 2000 安装程序启动。attrib 命令的各个
参数可从 Windows 2000 的命令提示符获得。
attrib filename]
参数
+r
设置只读属性。
-r
清除只读属性。
+s
设置系统属性。
-s
清除系统属性。
+h
设置隐藏属性。
-h
清除隐藏属性。
+c
设置压缩属性。
-c
清除压缩属性。
filename]
指定要处理的目录或文件的位置和名称。可以一次只更改一个文件,也可以更改整
个目录。
注意:
可以用一个命令更改一个文件或目录的多个属性
One of the fault recovery console commands
Attrib
Changes the attributes of a single file or directory. This command sets or removes read-only, system, archive, hidden, and compressed attributes assigned to a file or directory.
The following parameters of the attrib command are only valid when you use the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. The various parameters of the attrib command can be obtained from the command prompt of Windows 2000.
attrib filename]
Parameters
+r
Sets the read-only attribute.
-r
Clears the read-only attribute.
+s
Sets the system attribute.
-s
Clears the system attribute.
+h
Sets the hidden attribute.
-h
Clears the hidden attribute.
+c
Sets the compressed attribute.
-c
Clears the compressed attribute.
filename]
Specifies the location and name of the directory or file to be processed. You can change only one file at a time, or you can change an entire directory.
Note:
You can change multiple attributes of a file or directory with one command
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之二
Batch
执行在文本文件中指定的命令。batch 命令只有在使用 Windows 2000 恢复控
制台时才可以使用,恢复控制台可从 Windows 2000 安装程序启动。
batch input_file
参数
input_file
指定包含要执行的命令列表的文本文件。Input_file 可以由驱动器号和冒号、目
录名、文件名或它们的组合构成。
output_file
如果指定,则在命名文件中存储命令输出。如果没有指定,输出将显示在屏幕上。
范例
下例将执行批处理文件 C:\Jobs\Find.txt 并将输出存储在文件 C:
\Jobs\Results.txt 中:
batch c:\jobs\find.txt c:\jobs\results.txt
Fault Recovery Console Commands Part 2
Batch
Executes commands specified in a text file. The batch command is only available when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program.
batch input_file
Parameters
input_file
Specifies the text file that contains the list of commands to execute. The input_file can consist of a drive letter and colon, directory name, file name, or a combination of these.
output_file
If specified, stores the command output in the named file. If not specified, the output is displayed on the screen.
Example
The following example executes the batch file C:\Jobs\Find.txt and stores the output in the file C:\Jobs\Results.txt:
batch c:\jobs\find.txt c:\jobs\results.txt
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之三
Chdir (Cd)
显示当前目录的名称,或更改当前的文件夹。
带有下列参数的 chdir 或 cd 命令只有在使用 Windows 2000 恢复控制台时
才能使用,恢复控制台可从 Windows 2000 安装程序启动。可以在 Windows
2000 命令提示符下使用带有不同参数的 chdir 命令。
chdir
或者
cd
参数
无
如果不带任何参数,chdir 将显示当前驱动器和文件夹的名称。只与驱动器号一起
使用(例如 cd C:),chdir 将显示指定驱动器上的当前目录。
指定要改到的驱动器(如果不是当前驱动器)和目录。
指明要改到父文件夹。在 chdir 和两个句点之间插入一个空格。
注意
Chdir 将空格视作分隔符。用引号将包含空格的目录名扩起来。例如:
cd "driver cache"
Chdir 只适用于当前 Windows 安装的系统目录、可移动媒体、硬盘分区的根
目录或本地安装源。
Fault Recovery Console Command III
Chdir (Cd)
Displays the name of the current directory or changes the current folder.
The chdir or cd commands with the following parameters can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 setup program. You can use the chdir command with different parameters at the Windows 2000 command prompt.
chdir
Or
cd
Parameters
None
If used without any parameters, chdir displays the name of the current drive and folder. Used with only the drive letter (for example, cd C:), chdir displays the current directory on the specified drive.
Specifies the drive (if not the current drive) and directory to change to.
Indicates to change to the parent folder. Insert a space between chdir and the two periods.
Note
Chdir treats spaces as delimiters. Enclose directory names that contain spaces in quotation marks. For example:
cd "driver cache"
Chdir only applies to the system directory of the current Windows installation, removable media, the root directory of a hard disk partition, or the local installation source.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之四
发信站: BBS 水木清华站 (Thu Aug 24 04:08:10 2000)
Chkdsk
创建并显示磁盘状态报告。Chkdsk 也列出并纠正磁盘上的错误。
带有下列参数的 chkdsk 命令只有在使用 Windows 2000 恢复控制台时才能使用,
该恢复控制台可从 Windows 2000 安装程序启动。可在 Windows 2000 命令提示符
下使用带有不同参数的 chkdsk 命令。
chkdsk
参数
无
如果不带任何参数,chkdsk 将显示当前驱动器中的磁盘状态。
drive:
指定要 chkdsk 检查的驱动器。
/p
即使驱动器不在 chkdsk 的检查范围内,也执行彻底检查。该参数不对驱动器做任
何更改。
/r
找到坏扇区并恢复可读取的信息。隐含着 /p 参数。
注意
Chkdsk 需要 Autochk.exe 文件。如果不能在启动目录(默认为
\Winnt\System32)中找到该文件,将试着在 Windows 2000 安装 CD 中找到它。
如果有多引导系统的计算机,必须保证是在包含 Windows 2000 的驱动器上使用该
命令。
Fault Recovery Console Command IV
Posted: BBS Tsinghua Station (Thu Aug 24 04:08:10 2000)
Chkdsk
Creates and displays a disk status report. Chkdsk also lists and corrects errors on the disk.
The chkdsk command with the following parameters can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. The chkdsk command with different parameters can be used at the Windows 2000 command prompt.
chkdsk
Parameters
None
If no parameters are specified, chkdsk will display the disk status of the current drive.
drive:
Specifies the drive to be checked by chkdsk.
/p
Performs a thorough check even if the drive is not within the scope of chkdsk's check. This parameter does not make any changes to the drive.
/r
Locates bad sectors and recovers readable information. Implies the /p parameter.
Note
Chkdsk requires the Autochk.exe file. If this file cannot be found in the startup directory (by default \Winnt\System32), it will try to find it on the Windows 2000 installation CD. If there is a multi-boot system computer, make sure to use this command on the drive containing Windows 2000.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之五
Cls
清除屏幕。
清除后的屏幕只显示命令提示符和插入点。
cls
参数
无
Fault Recovery Console Command Five
Cls
Clear the screen.
After clearing, the screen only displays the command prompt and the insertion point.
cls
Parameters
None
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之六
Copy
将单个文件复制到其他位置。带有下列参数的 copy 命令只有在使用 Windows
2000 恢复控制台时才能使用,该恢复控制台可从 Windows 2000 安装程序启动。
可在 Windows 2000 命令提示符下使用带不同参数的 copy 命令。
copy source
参数
source
指定要被复制的文件的位置和名称。source 可以由驱动器号和冒号、目录名、文
件名或它们的组合构成。
destination
指定要复制的文件或文件集的位置和名称。Destination 可以由驱动器号和冒号、
文件夹名、文件名或它们的组合构成。
注意
源可以是可移动媒体、当前 Windows 安装的系统目录中的任何目录、驱动器的根
目录、本地安装源或 Cmdcons 目录。
目标可以是除可移动媒体以外的任何与源相同的位置。如果没有指定目标,则默认
为当前目录。
Windows 安装 CD 中的压缩文件在复制过程中解压缩。
Copy 不支持通配符。
Fault Recovery Console Command Part 6
Copy
Copies a single file to another location. The copy command with the following parameters can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. The copy command with different parameters can be used at the Windows 2000 command prompt.
copy source
Parameters
source
Specifies the location and name of the file to be copied. The source can consist of a drive letter and colon, directory name, file name, or a combination of them.
destination
Specifies the location and name of the file or file set to be copied. The destination can consist of a drive letter and colon, folder name, file name, or a combination of them.
Note
The source can be removable media, any directory in the system directory of the current Windows installation, the root directory of a drive, a local installation source, or the Cmdcons directory.
The destination can be any location that is the same as the source except for removable media. If the destination is not specified, it defaults to the current directory.
Compressed files in the Windows installation CD are uncompressed during the copy process.
Copy does not support wildcards.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之七
Delete (Del)
删除单个文件。带有下列参数的 delete 或 del 命令只有在使用 Windows 2000
恢复控制台时才能使用,该恢复控制台可从 Windows 2000 安装程序启动。可在
Windows 2000 命令提示符下使用带有不同参数的 delete 或 del 命令。
delete filename
或者
del filename
参数
filename
指定要删除的文件的位置和名称。
注意
Delete 只适用于当前 Windows 安装的系统目录、可移动媒体、硬盘分区的根目录
或本地安装源。
Fault Recovery Console Command Seven
Delete (Del)
Deletes a single file. The delete or del commands with the following parameters can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. The delete or del commands with different parameters can be used at the Windows 2000 command prompt.
delete filename
or
del filename
Parameters
filename
Specifies the location and name of the file to be deleted.
Note
Delete only applies to the system directory of the current Windows installation, removable media, the root directory of a hard disk partition, or the local installation source.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之八
Dir
显示目录中的文件和子目录列表。带有下列参数的 dir 命令只有在使用
Windows 2000 恢复控制台时可能使用,该恢复控制台可从 Windows 2000 安装程
序启动。可在 Windows 2000 命令提示符下使用带有不同参数的 dir 命令。
dir
参数
指定要查看列表的驱动器和目录。
指定要查看列表的特定文件或一组文件。可以使用多个文件名。文件名可以用空格
、逗号或分号隔开。可以在 filename 参数中使用通配符(? 和 *)显示一组文件
。
Dir 还列出磁盘的卷标和序列号,以及所列文件的数目,累计大小和磁盘上剩余的
可用空间(以字节计)。对于每个文件和子目录而言,dir 列出文件的扩展名、文
件字节数、文件的最后修改日期和时间以及下列文件属性(如果可用):
缩写 属性
d 目录
h 隐藏文件
s 系统文件
e 加密
r 只读
a 存档文件
c 压缩
p 重新分析点
注意
Dir 仅适用于当前 Windows 安装的系统目录、可移动媒体、硬盘分区的根目录或
本地安装源。
Fault Recovery Console Commands Part 8
Dir
Displays a list of files and subdirectories in a directory. The dir command with the following parameters may only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. The dir command with different parameters can be used at the Windows 2000 command prompt.
dir
Parameters
Specifies the drive and directory for which you want to view the list.
Specifies a specific file or group of files for which you want to view the list. Multiple filenames can be used. Filenames can be separated by spaces, commas, or semicolons. Wildcards (? and *) can be used in the filename parameter to display a group of files.
Dir also lists the volume label and serial number of the disk, as well as the number of files listed, the total size, and the available space remaining on the disk in bytes. For each file and subdirectory, dir lists the file's extension, the number of bytes in the file, the last modified date and time of the file, and the following file attributes (if available):
Abbreviation Attribute
d Directory
h Hidden file
s System file
e Encrypted
r Read-only
a Archive file
c Compressed
p Reparse point
Note
Dir only applies to the system directory of the current Windows installation, removable media, the root directory of a hard disk partition, or the local installation source.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之九
Disable
禁用 Windows 2000 或 Windows NT 4.0 系统服务或设备驱动程序。disable 命令
只有在使用 Windows 2000 恢复控制台时才能使用,该恢复控制台可从 Windows
2000 安装程序启动。
disable {service_name] |
Fault Recovery Console Command 9
Disable
Disables a Windows 2000 or Windows NT 4.0 system service or device driver. The disable command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 setup program.
disable {service_name] |
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之十
发信站: BBS 水木清华站 (Thu Aug 24 04:12:01 2000)
Diskpart
创建和删除硬盘驱动器上的分区。diskpart 命令只有在使用 Windows 2000 恢复
控制台时才能使用,该恢复控制台可从 Windows 2000 安装程序启动。
diskpart
参数
无
如果不带任何参数,diskpart 命令将启动 diskpart 的 Windows 2000 字符模式
版本。
/add
创建新的分区。
/delete
删除现有分区。
device_name
要创建或删除分区的设备。该名称可从 map 命令的输出中获得。以下是设备名称
的范例:
\Device\HardDisk0
drive_name
以驱动器号表示的待删除分区。仅与 /delete 同时使用。以下是驱动器名称的范
例:
D:
partition_name
以分区名称表示的待删除分区。可代替 drive_name 使用。仅与 /delete 同时使
用。以下是分区名称的范例:
\Device\HardDisk0\Partition1
size
要创建的分区大小,以兆字节 (MB) 表示。仅与 /add 同时使用。
范例
下例将删除分区:
diskpart /delete \Device\HardDisk0\Partition3
diskpart /delete F:
下例将在硬盘上添加一个 20 MB 的分区:
diskpart /add \Device\HardDisk0 20
Fault Recovery Console Commands Ten
Posted: BBS Tsinghua Station (Thu Aug 24 04:12:01 2000)
Diskpart
Create and delete partitions on a hard disk drive. The diskpart command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 setup program.
diskpart
Parameters
None
If no parameters are provided, the diskpart command will start the Windows 2000 character-mode version of diskpart.
/add
Create a new partition.
/delete
Delete an existing partition.
device_name
The device on which to create or delete a partition. This name can be obtained from the output of the map command. Here are examples of device names:
\Device\HardDisk0
drive_name
The partition to delete, expressed as a drive letter. Only used with /delete. Here are examples of drive names:
D:
partition_name
The partition to delete, expressed as a partition name. Can be used instead of drive_name. Only used with /delete. Here are examples of partition names:
\Device\HardDisk0\Partition1
size
The size of the partition to create, in megabytes (MB). Only used with /add.
Examples
The following example deletes a partition:
diskpart /delete \Device\HardDisk0\Partition3
diskpart /delete F:
The following example adds a 20 MB partition to the hard disk:
diskpart /add \Device\HardDisk0 20
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之十一
Enable
启用 Windows 2000 或 Windows NT 4.0 系统服务或设备驱动程序。enable 命令
只有在使用 Windows 2000 恢复控制台时才能使用,该恢复控制台可从 Windows
2000 安装程序启动。
enable {service_name | device_driver_name}
参数
service_name
要启用的系统服务的名称。
device_driver_name
要启用的设备驱动程序的名称。
startup_type
要为服务或设备驱动程序指派的启动类型。
范例
下例将 Eventlog 服务的启动类型设为自动或 SERVICE_AUTO_START:
enable eventlog service_auto_start
注意
如果不指派启动类型,enable 命令将列出在 service_name 中指定的服务或设备
驱动程序的当前启动类型。
共有五种启动类型。前三种类型是:SERVICE_AUTO_START、SERVICE_DISABLED 和
SERVICE_DEMAND_START。对应的标准启动类型:自动、禁用和手动,通常使用“
计算机管理”管理工具中的“服务”进行配置。后两种类型是:
SERVICE_BOOT_START 和 SERVICE_SYSTEM_START,通常用于配置加载设备驱动程序
的方式。例如,在启动计算机时或启动 Windows 2000 时加载。
使用 enable 命令更改启动类型时,上次启动类型的名称将显示在屏幕上。应该记
下该名称,以便在需要时将启动类型恢复为上次的设置。
Fault Recovery Console Command XI
Enable
Enables a Windows 2000 or Windows NT 4.0 system service or device driver. The enable command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 setup program.
enable {service_name | device_driver_name}
Parameters
service_name
The name of the system service to enable.
device_driver_name
The name of the device driver to enable.
startup_type
The startup type to assign to the service or device driver.
Examples
The following example sets the startup type of the Eventlog service to Automatic or SERVICE_AUTO_START:
enable eventlog service_auto_start
Notes
If a startup type is not assigned, the enable command will list the current startup type of the service or device driver specified in service_name.
There are five startup types. The first three types are: SERVICE_AUTO_START, SERVICE_DISABLED, and SERVICE_DEMAND_START. The corresponding standard startup types: Automatic, Disabled, and Manual, are usually configured using the Services management tool in Computer Management. The last two types are: SERVICE_BOOT_START and SERVICE_SYSTEM_START, which are usually used to configure how device drivers are loaded. For example, loaded when the computer starts or when Windows 2000 starts.
When using the enable command to change the startup type, the name of the last startup type will be displayed on the screen. You should write down that name so that you can restore the startup type to the previous setting when needed.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之十二
Exit
关闭 Windows 2000 恢复控制台并重新启动计算机。exit 命令在使用 Windows
2000 恢复控制台时才能使用,该恢复控制台可从 Windows2000 安装程序启动。
exit
参数
无
Recovery Console Command - Part Twelve
Exit
Closes the Windows 2000 Recovery Console and restarts the computer. The exit command can only be used when using the Windows 2000 Recovery Console, which can be launched from the Windows 2000 installation program.
exit
Parameters
None
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 14 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之十三
Expand
从压缩文件中提取文件。使用该命令从 Windows 2000 CD 上的 CAB (.cab) 文件
或压缩文件中提取驱动程序文件。
带有不同参数的 expand 命令只有在使用 Windows2000 恢复控制台时才能使用,
该恢复控制台可从 Windows 2000 安装程序启动。可在 Windows 2000 命令提示符
下使用带有不同参数的 expand。
expand source | source.cab
参数
/d
列出 CAB 文件中包含的文件而不展开或提取。
/y
在展开或提取文件时不出现覆盖提示。
source
指定要展开的文件。如果源文件只包含一个文件,请使用该选项。source 可由驱
动器号和冒号、目录名、文件名或它们的组合构成。不能使用通配符。
source.cab /f:filespec
指定要从中提取的 CAB 文件以及要提取的一个或多个文件的名称。如果源文件包
含多个文件,请使用该选项。可以对要提取的文件使用通配符。
destination
指定提取文件的目标目录和(或)文件名。
范例
下例将从 Windows 2000 CD 上的驱动程序 CAB 文件中提取 Msgame.sys 文件并将
其复制到 C:\Winnt\System\Drivers:
expand d:\i386\driver.cab \f:msgame.sys c:\winnt\system\drivers
下例将展开压缩文件 Access.cp_:
expand d:\i386\acces.cp_ c:\winnt\system32\access.cpl
下例将列出 Windows 2000 CD 上的驱动程序 CAB 文件中的所有文件。
expand /d d:\i386\driver.cab
要点
驱动程序 CAB 文件包含成千上万的文件,其中包括 Windows 2000 提供的大部分
驱动程序。将所有文件从 CAB 文件展开到硬盘上需要花较长的时间和大量的磁盘
空间。建议仅从该文件中提取需要的文件。
注意
如果没有指定目标,文件将被复制到当前目录。
不能将软盘驱动器或 CD-ROM 指定为目标。
Recovery Console Command - Thirteen
Expand
Extract files from a compressed file. Use this command to extract driver files from CAB (.cab) files or compressed files on the Windows 2000 CD.
The expand command with different parameters can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installer. You can use expand with different parameters at the Windows 2000 command prompt.
expand source | source.cab
Parameters
/d
List the files contained in the CAB file without expanding or extracting.
/y
Do not display the overwrite prompt when expanding or extracting files.
source
Specify the file to be expanded. Use this option if the source file contains only one file. source can be composed of a drive letter and colon, directory name, file name, or a combination of them. Wildcards cannot be used.
source.cab /f:filespec
Specify the CAB file from which to extract and the name of one or more files to extract. Use this option if the source file contains multiple files. Wildcards can be used for the files to be extracted.
destination
Specify the target directory and/or file name of the extracted file.
Examples
The following example extracts the Msgame.sys file from the driver CAB file on the Windows 2000 CD and copies it to C:\Winnt\System\Drivers:
expand d:\i386\driver.cab \f:msgame.sys c:\winnt\system\drivers
The following example expands the compressed file Access.cp_:
expand d:\i386\acces.cp_ c:\winnt\system32\access.cpl
The following example lists all files in the driver CAB file on the Windows 2000 CD.
expand /d d:\i386\driver.cab
Key Points
Driver CAB files contain thousands of files, including most of the drivers provided by Windows 2000. Expanding all files from the CAB file to the hard disk takes a long time and a large amount of disk space. It is recommended to only extract the files you need from this file.
Note
If no destination is specified, the file will be copied to the current directory.
Floppy drives or CD-ROMs cannot be specified as the destination.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|
|
ko20010214
版主
       
积分 7294
发帖 1628
注册 2002-10-16
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
故障恢复控制台命令之十四
Fixboot
向系统分区写入新的分区引导扇区。只有在使用 Windows 2000 恢复控制台时,才
能使用 fixboot 命令。Windows 2000 恢复控制台可从 Windows 安装程序中启动
。
fixboot
参数
drive
要写入引导扇区的驱动器该参数替换默认驱动器(用户登录的系统分区)。例如,
驱动器:
D:
范例
下列命令范例向 驱动器 D: 的系统分区写入新的分区引导扇区:
fixboot d:
注意
如果不带任何参数,fixboot 命令将向用户登录的系统分区写入新的分区引导扇区
。
--
Fault Recovery Console Command XIV
Fixboot
Writes a new partition boot sector to the system partition. The fixboot command can only be used when using the Windows 2000 Recovery Console. The Windows 2000 Recovery Console can be started from the Windows installation program.
fixboot
Parameters
drive
The drive to which the boot sector is to be written. This parameter replaces the default drive (the system partition where the user logged in). For example, drive:
D:
Example
The following command example writes a new partition boot sector to the system partition of drive D:
fixboot d:
Note
If no parameters are provided, the fixboot command will write a new partition boot sector to the system partition where the user logged in.
|

ko20010214
=================================
大功告成,打个Kiss!
ko20010214@MSN.com
神州优雅Q300C
Intel CeleronM 370处理器 | 256MbDDR内存
40G硬盘 | USB2.0 | IEEE 1394
13.3 ' WXGA 宽屏(16:10) | COMBO光驱
10/100M网卡 | 四合一读卡器
|
|
2003-6-21 00:00 |
|