Recovery Console Commands
Microsoft Windows XP

The following commands can be used with the Recovery Console.

Attrib

Changes the attributes of a file or directory.

Batch

Executes the commands specified in the text file.

Bootcfg

Boot file (boot.ini) configuration and recovery.

ChDir (Cd)

Displays the name of the current directory or changes the current directory.

Chkdsk

Checks a disk and displays a status report.

Cls

Clears the screen.

Copy

Copies a single file to another location.

Delete (Del)

Deletes one or more files.

Dir

Displays a list of files and subdirectories in a directory.

Disable

Disables a system service or a device driver.

Diskpart

Manages partitions on your hard disks.

Enable

Starts or enables a system service or a device driver.

Exit

Exits the Recovery Console and restarts your computer.

Expand

Extracts a file from a compressed file.

Fixboot

Writes a new partition boot sector onto the specified partition.

Fixmbr

Repairs the master boot record of the specified disk.

Format

Formats a disk.

Help

Displays a list of the commands that you can use in the Recovery Console.

Listsvc

Lists the services and drivers available on the computer.

Logon

Logs on to a Windows installation.

Map

Displays the drive letter mappings.

Mkdir (Md)

Creates a directory.

More

Displays a text file.

Net Use

Connects a network share to a drive letter.

Rename (Ren)

Renames a single file.

Rmdir (Rd)

Deletes a directory.

Set

Displays and sets environment variables.

Systemroot

Sets the current directory to the systemroot directory of the system you are currently logged on to.

Type

Displays a text file.