Command Prompt Commands
Command
assoc at attrib break cacls cd or chdir chcp chkdsk chkntfs cls cmd color comp or fc compact convert copy date del or erase dir diskcomp diskcopy diskperf doskey echo exit find findstr format ftype graftabl help label md or mkdir mode more move path popd prompt pushd rd or rmdir recover ren or rename replace set setlocal sort start subst time title tree type ver verify vol xcopy |
Descriptions
Used to view and change file associations in Windows Enables you to schedule one or more programs to run at a designated date and time (in Windows Server 2003, type at/? for help information For viewing the attributes set for a file and to change one or more attributes Causes the system to check for a break key only during standard operations, such as while making input or output (break off) or during all program execution options (break on) Enables you to view the attributes set for a file and to change one or more attributes Enables you to change to a different folder or to view the name of the current folder Used to view the currently active code page number or to set a different code page number Used to report the disk file system statistics and to correct file system errors such as lost clusters (for FAT and NTFS) Used to report the disk file system statistics and to correct file system errors such as lost clusters (for NTFS) Clears the information currently displayed on the screen Used to start a new NTDVM session Sets up the foreground and background screen colors Enables you to compare the information in two files or in two sets of files to determine the differences in content Compresses files and subfolders within a folder or removes the compression attribute Converts a FAT formatted volume to NTFS at the time a server is booted Copies files from one disk location to another Enables you to view the date and to reset it Deletes specified files on a volume Lists files and subfolders within a folder Checks the contents of one floppy disk against the contents of another Copies information on a floppy disk to another floppy disk Installs, starts, or stops the Performance/System Monitor disk counters (in Windows XP and Windows Server 2003, type diskperf 1? for help information) Starts the recall of previously used MS-DOS commands and is used to create command macros Shows an associated message or turns screen messages off or on Used to exit a Command Prompt window session Used to find a designated set of characters contained in one or more files Used to find a one or more sets of characters within a set of files Formats a floppy disk Provides detailed information about file associations, and it is used to change associations so as to link them with a designated program Displays characters and code-page switching for a color display monitor Provides a list of the Windows 2000/2003 command-line commands and is used to display help about a particular command Modifies the label on a disk volume Used to set up a new folder Sets up parameters for a device or a communications port Used to limit the display to one screen at a time or a specific number of lines so that information does not rush by faster than it can be read Enables you to move files from one disk location to another on the same volume Used to establish the path or list of folders to search in order to run a program or command Deletes a specified drive letter that was temporarily created by pushd Prints a designated file Modifies the format of the command prompt shown in the Command Prompt window Creates a temporary drive letter to a network resource Deletes a folder or subfolder Enables you to try recovering files and data from a damaged or unreadable disk Renames a file or a group of files Compares files in two disks or folders and synchronizes the files in one to those on another (similar to My Briefcase) Shows a list of currently set environment variables and is used to modify those variables Used to start command process extensions via a batch file, such as for detecting error level information Sorts lines input into a file, written to the screen, or sent to a printer from a file Starts a new Command Prompt window in which to run a program or a command Used to link a path or volume with a designated drive letter Used to view the time of day and to reset it Modifies the title in the title bar of the Command Prompt window Used to show a graphic of the folder and subfolder tree structure Shows a file’s contents on the screen or sends the contents to a file Shows the current version of the operating system Instructs the operating system to verify that each file is accurately written to disk at the time it is created, copied, moved, or updated Used to view the volume label, if there is one, and the volume serial number Designed as a fast copy program for files, folders, and subfolders |