中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 15:23
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » Overview of the Fault Recovery Console [Repost]
Printable Version  3,602 / 30
Floor16 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Recovery Console Command - Fifteen
Fixmbr
Writes a new master boot record to the hard disk. The fixmbr 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.

fixmbr

Parameters

device_name

The device (drive) to which the new master boot record is to be written. The device name can be obtained from the output of the map command. For example, the device name:

\Device\HardDisk0

Example

The following command example writes a new master boot record to the specified device:

fixmbr \Device\HardDisk0

Note

If device_name is not specified, the new master boot record will be written to the boot device, that is, the drive that loads the main system.
If the system detects an invalid or non-standard partition table mark, the user will be prompted whether to continue executing the command. Do not proceed unless you are accessing a problematic drive. Writing a new master boot record to the system partition may damage the partition table and make the partition inaccessible.
Floor17 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command Seventeen
Help
Provides online information about Windows 2000 Recovery Console commands.

help

Parameters

none

Lists the commands available in the Recovery Console.

commandname

Provides information about the command, including the parameters the command uses.

Note

There are two ways to get online help for a command. You can specify the command name after the help command, or you can type the command name and the /? switch at the command prompt. For example, typing the following commands can get information about the extract command:
help extract
extract /?
Floor18 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command 18

Listsvc

Lists the services and drivers available on the computer. The listsvc command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program.

listsvc

Parameters

None
Floor19 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command No. 19

Logon
Log on to the installed Windows 2000 or Windows NT 4.0 system. The logon command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program.

logon

Parameters

None

Note

The logon command will list all detected systems with Windows 2000 and Windows NT installed. Logging on to the system requires the local administrator password.
Floor20 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command - Part Twenty

Map

Displays the mapping between drive letters and physical device names. This information is very useful when running commands like fixboot, fixmbr, or fdisk. The map command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program.

Map

Parameters

arc

Instructs the map command to display Advanced RISC Computing (ARC) device names instead of Windows 2000 device names. Here is an example of an ARC device name:

multi(0)disk(0)rdisk(0)partition(1)

The equivalent Windows 2000 device name is:

\Device\HardDisk0\Partition1

Example

The following example maps physical device names to drive letters using ARC device names:

map arc

Note

If the arc parameter is not used, the map command displays Windows 2000 device names. The map command also displays the type of file system and the size (in MB) of each disk.
Floor21 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command之二一

Mkdir (md)
Creates a directory or subdirectory. The mkdir command with the following parameters is only available when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program. You can use the mkdir command with different parameters at the Windows 2000 command prompt.

mkdir path

or

md path

Parameters

drive:

Specifies the drive on which to create the new directory.

path

Specifies the name and location of the new directory. Wildcards cannot be used.

Note

Mkdir is only applicable to the system directory of the current Windows installation, removable media, the root directory of a hard disk partition, or the local installation source.
Floor22 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command Part Two Two
More
Displays the contents of a text file. Use the more or type command to view the contents of a text file without modifying the file. The more 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. You can use the more command with different parameters at the Windows 2000 command prompt.

more filename

Or

type filename

Parameters

filename

Specifies the location and name of the file to view.

If you are using an NTFS drive and the file name contains spaces, you must enclose the file name in quotes (".
Floor23 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Commands: Rename (Ren)

Rename (Ren)
Changes the name of a single file. The rename command with the following parameters is only available when using the Windows 2000 Recovery Console, which can be launched from the Windows 2000 installation program. The rename command with different parameters can be used at the Windows 2000 command prompt.

rename filename1 filename2

Or

ren filename1 filename2

Parameters

filename1

Specifies the location and name of the file to be renamed. Wildcards cannot be used.

filename2

Specifies the new name for the file. When renaming a file, you cannot specify a new drive or path.
Floor24 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command Part 24

Rmdir (Rd)
Deletes a directory. The rmdir 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 rmdir command with different parameters can be used at the Windows 2000 command prompt.

rmdir path

Or

rd path

Parameters

path

Specifies the location and name of the directory to be deleted. Wildcards cannot be used.

Note

The directory must be empty or the command will fail.
Rmdir is only applicable to the system directory of the current Windows installation, removable media, the root directory of a hard disk partition, or the local installation source.
Floor25 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Commands Part 25
Set
Displays and sets environment variables for the Recovery Console. The set command is an optional command that must be enabled with a security template.

The set 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. You can use the set command with different parameters at the Windows 2000 command prompt.

set ]

Parameters

None

If there are no parameters, the set command will display the current environment settings.

variable

Specifies the variable to be set or modified.

The following environment variables are supported by the "Recovery Console":

Variable Description
AllowWildCards Allows certain commands (such as the del command) to support wildcards.
AllowAllPaths Allows access to all files and directories on the system.
AllowRemovableMedia Allows files to be copied to removable media, such as floppy disks.
NoCopyPrompt Does not display a prompt when overwriting an existing file.


string

Specifies the string to be associated with the specified variable.

Examples

The following example allows the use of wildcards in some Recovery Console commands:

set allowwildcards=true

The following example turns off the prompt when overwriting files:

set nocopyprompt=true

Note

The set command is disabled by default. To enable the set command, use a security template. The "Enable Set Command for Recovery Console" property is located under Local Computer Policy/Computer Configuration/Windows Settings/Security Settings/Local Policies/Security Options in the console tree.
By default, all environment variables are set to FALSE.
Floor26 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command No. 26
Systemroot
Sets the current directory to the system root directory folder where Windows 2000 system is logged in. The systemroot command can only be used when using the Windows 2000 Recovery Console, which can be started from the Windows 2000 installation program.

systemroot

Parameters

None
Floor27 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Fault Recovery Console Command Part 27

Type
Displays the contents of a text file. Use the type or more command to view a text file without modifying it. The type 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 type command with different parameters can be used at the Windows 2000 command prompt.

type filename

or

more filename

Parameters

filename

Specifies the location and name of the file to view.

If you are using an NTFS drive and the file name contains spaces, you must enclose the file name in quotation marks (".
Floor28 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Installing the Recovery Console to the Win2k Boot Options

The steps are as follows:

1. Log on to Windows 2000 as an administrator or as a user who has administrative rights. If the computer is connected to a network, network policy settings might also prevent you from completing this step.

2. Insert the Win2K CD into the CD-ROM drive. If you are prompted to upgrade to Windows 2000, click "No".

3. At the command prompt (or from the "Run" command box in Windows 2000), type the path to the corresponding Winnt32.exe file (on the Windows 2000 CD) followed by a space and the /cmdcons switch option. For example: e:\\i386\winnt32.exe /cmdcons

4. Follow the prompts that appear.
Floor29 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Running the Recovery Console on a System That Is Not Booted

1. Restart the computer, and then click "Windows 2000 Recovery Console" from the operating system list.
2. Follow the prompts that appear. The Recovery Console displays a command prompt.
3. Make the required changes to the system.
To view the commands available in the Recovery Console, type help at the command prompt.
Floor30 ko20010214 Posted 2003-06-21 00:00
版主 Posts 1,628 Credits 7,296
Delete the Fault Recovery Console

1. Delete the \Cmdcons folder from the root folder.
2. Delete the Cmldr file in the same folder.
3. Delete the entry for the Fault Recovery Console in the Boot.ini file.
Prev  1 2 3  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023