Recovery Console Commands

The Recovery Console can be an indispensable diagnostic tool when your Windows XP, 2000, or Server 2003 based computer suffers from certain major problems.
A number of commands are available within Recovery Console, some of them exclusive to the tool. When used, these commands can do things as simple as copying a file from one place to another or as complicated as repairing the master boot record after a major virus attack.
Recovery Console commands are different than Command Prompt commands and DOS commands.
See below for a complete list of Recovery Console commands:


The attrib command is used to change the attributes of a single file or a directory.


The batch command can be used to run a series of other Recovery Console commands located in a text file that you specify.


The bootcfg command is used to build or modify the boot.ini file, a hidden file that is used to identify in what folder, on which partition, and on which hard drive Windows is located.


The chdir command is used to display the drive letter and folder that you are currently in. Chdir can also be used to change the drive and/or directory that you want to work in.


The chkdsk command, often referred to as “check disk”, is used to identify, and often times correct, certain hard drive errors.


The cls command clears the screen of all previously entered commands and other text.


The copy command does simply that – it copies a single file from one location to another.


The delete command is used to delete a single file.


The dir command is used to display a list of files and folders contained inside the folder that you are currently working in. The dir command also displays other important information like the hard drive’s serial number, the total number of files listed, their combined size, the total amount of free space left on the drive, and more.


The disable command is used to disable a system service or a device driver.


The diskpart command is used to create or delete partitions on hard drives.


The enable command is used to enable a system service or a device driver.


The exit command ends the Recovery Console session and then restarts the computer.


The expand command is used to extract a single file or a group of files from a compressed file.


The fixboot command writes a new partition boot sector to the system partition that you specify.


The fixmbr command writes a new master boot record to the hard disk drive that you specify.


The format command is used to format a drive in the file system that you specify.


The help command provides more detailed information on any of the other Recovery Console commands.


The listsvc command will list the services and drivers available in your Windows installation.


The logon command is used to gain access to the Windows installation that you specify.


The map command is used to display the partition and hard drive that each drive letter on the computer is currently assigned to.