Share via


© Microsoft Corporation. All rights reserved.

Command Action
Attrib Changes a file's or directory's attributes
Batch Executes the commands that the text file specifies
ChDir (Cd) Displays the current directory or changes the current directory
Chkdsk Checks a disk and displays a status report
Cls Clears the screen
Copy Copies one file to another location
Delete (Del) Deletes one or more files
Dir Displays a list of files and subdirectories residing in a directory
Disable Disables a system service or device driver
Diskpart Manages partitions on your hard disks
Enable Starts or enables a system service or device driver
Exit Exits the RC and restarts your computer
Expand Extracts a compressed file
Fixboot Writes a new partition boot sector onto the system partition
Fixmbr Repairs the MBR of the partition boot sector
Format Formats a disk
Help Displays a list of commands that you can use in the RC
Listsvc Lists the services and drivers that are available on the computer
Logon Logs you on to a Win2K installation
Map Displays drive-letter mappings
Mkdir (Md) Creates a directory
More Displays a text file one screen at a time
Rename (Ren) Renames a 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're currently logged on to
Type Displays a text file