MS-DOS - Windows Command Prompt (Windows 95, 98, XP, Vista & 7)

most of these MS DOS commandsAre OS Windows XP. It is very possible that some of them may not be available Windows Vista si Windows 7. You will notice in the list below as some of them ends with /? BACKGAMMON. "/?" Command line in the end, the table will display all order details.


addusers - Add or list users to / from a CSV file (XP Only)

ansi.sys - Defines functions That change display graphics, control cursor movement and reassign keys

at * - Enables users to schedule tasks to be Performed at the Specified time and date

append - Similar to the PATH MS-DOS command, append the command enables the user to open files in the directory as if THEY WERE Specified in the current directory

appwiz.cpl - Launch Add or Remove Programs and Windows Components

arp - Displays, adds and removes arp information from network devices

Assoc - The Assoc command displays the file association for each of the different file extensions on the computer

associat - One step file association

attrib - Attrib allows the user to change the properties of the Specified file ie Read-only, Archived, Hidden, and System


Bootcfg.exe - The bootcfg command is a Recovery Console command That enables the user to rebuild, view, and otherwise make changes to the boot.ini file

browstat - Get domain, browser and PDC info


Cacls.exe - The cacls command enables the user to view and modify the ACLs of the file

call - Calls one batch schedule from Another Without stopping the parent batch schedule
(Call /? TABLE)

certreq - Requests certificates from the Certification Authority (certreq /? TABLE)

certutil - Certutil.exe is a command-line program that is installed as part of Certificate Services (certutil /? TABLE)

chcp.exe - (Before the CHCP command CAN BE Used, the nlsfunc must be loaded, as well as the country.sys must be loaded into the config.sys) The CHCP command is Used to supplement the International keyboard and character set information, allowing MS- DOS to be Used in Other Countries and with different languages

CD & chdir - Means to change the directory in MS-DOS (For example chdir \ & cd \ take you to the HIGHEST level of the drive, chdir .. & cd .. goes back one, etc.)

chkdsk.exe - Which Chkdsk is a utility checks the computer's hard disk drives' status for any cross-linked or any additional errors with the hard disk drive

chknfts.exe - The command is chkntfs Used to display or modify the checking of the disk drive Using NTFS at boot time

choice - This tool allows users to select one item from a list of choices and returns the index of the selected choice. (Choice /? TABLE)

cipher.exe - Displays or Alters the encryption of directories [files] on NTFS partition
(More commands biggest fan I Cipher / e, cipher / d, etc ... Type one incorrctly to get the list ... Double cipher / R)

clip - Redirects output of command line tools to the Windows clipboard. This text output CAN THEN BE pasted into other Programs. (Video /? TABLE) eg DIR | clip

class - Clears All That Is Written on a dos window

color - The color command Enables users running Windows XP and Microsoft Windows 2000 to Quickly and easily change the default color of Their background and / or text in Their MS-DOS window COLOR eg 0a

comp - A simple compare two or more files That Compares TABLE BELOW:

data1 Specifies location and name (s) of first file (s) to compare.
data2 Specifies location and name (s) of second files to compare.
/ D Displays differences in decimal format.
/ A Displays differences in ASCII characters.
/ L Displays line numbers for differences.
/ N = number Compares only the first Specified number of lines in each file.
/ C Disregards case of ASCII letters When comparing files.

compact - Compact of MS-DOS command is used to compress, uncompress, and view compressed files TABLE BELOW:
/ W Compresses the Specified files. Directories marked it That Will Be Will Be compressed files added afterward.
/ U Uncompresses the Specified files. Directories Will it be marked files added afterward That Will not be compressed.
/ S Specified performs the operation on files in the given directory and all subdirectories. Default "dir" is the current directory.
/ A Displays files with the hidden or system attributes. These files is omitted by default.
/ I Continues performing the operation Specified Even after errors have occurred. By default, COMPACT stops When an error is encountered.
/ F Forces the compress operation on all files Specified, possibly Thos Which is already compressed. Already-compressed files is Skipped by default.
/ Q Reports only the most essential information.
filename Specifies a pattern, file, or directory.

convert - Converts FAT to NTFS Volumes LIST BELOW:
volume Specifies the drive letter (FOLLOWED by a colon), mount point, or volume name.
/ FS: NTFS Specifies the volumes to be converted That to NTFS.
/ V Specifies Convert That Should Be Run in verbose mode.

copy - Accomplished what does ctrl + c, But in DOS

compmgmt.msc * - View and config system settings and components

cmd - Opens the command prompt window

control.exe system - View basic info about your computer system settings

CSVDE - Imports and exports date from Active Directory using files That store date in the comma-separated value (CSV) format. You Can Also support batch Operations based on the CSV file format standard (CSVDE /? TABLE)


data - Data Shows That you (it Wants you to input the "new" data)

dcgpofix - Restores the default Group Policy objects to Their Original States (that is, the default state after initial installation) (dcgpofix /? TABLE)

debugging - Debug is a method of looking at portions of your computer and writing assembly code to perform tasks on your compute Certain examples: debug C: \ windows (press Q to exit debug)

defrag * - Defrags the computer! (Defrag /? TABLE) Note: you want to do this every month or so, or at Least I do ...

dfscmd - Manages the distributed file system from the command line (dfscmd /? TABLE)

the - Used to delete files from the computer

deltree - Short for delete tree, deltree is a command used to delete files and directories from the computer Permanently

dir - The dir command allows you to see the available files in the current and / or parent directories

disable - The disable command is a Recovery Console command disables Windows system services or That drivers EXAMPLE: disable <service name> SERVICE_AUTO_START

diskcomp - Compares the contents of a floppy disk in the source drive to the contents of the floppy disk drive in the target

diskcopy - The diskcopy utility allows the user to copy the complete contents of the diskette to Another diskette.It is not recommended That the diskcopy command be used for anything But the floppy diskette. TABLE BELOW:
DISKCOPY [drive1: [drive2:]] [/ 1] [/ V] [/ M]
/ 1 Copies only the first side of the disk.
/ V Verifies That the information is Copied correctly.
/ M Force multi-pass copy using memory only.

diskpart - The diskpart command is a Recovery Console command That Enables the user to delete and create partitions on Their PC
diskpart [/ add | / delete] [DEVICE_NAME | drive_name | partition_name] [size]
/ Add Creates a new partition.
/ Delete Deletes an existing partition.
The device on DEVICE_NAME Which you want to create or delete a partition. The name CAN be obtained from the output of the map command.
drive_name The partition you want to delete, by drive letter. Used only with / delete.
partition_name The partition you want to delete, by partition name. Can be used in place of the drive_name. Used only with / delete.
size The size, in megabytes (MB) of the partition you want to create. Used only with / add.

doskey - Doskey is a MS-DOS utility that allows the user to keep a history of commands used on the computer. This allows Frequently used commands to be used without HAVING to type the commands in each time you Need to use it TABLE BELOW:
/ BUFSIZE: size Sets size of macro and command buffer (default: 512)
/ ECHO: on | off nables / disables echo of macro expansions (default: on)
/ FILE: file Specifies file Containing the list of macros
/ HISTORY Displays all commands Stored in Memory
/ INSERT Inserts new characters into line When typing
/ KEYSIZE: size Sets size of keyboard type-ahead buffer (default: 15)
/ LINE: size Sets maximum size of line edit buffer (default: 128)
/ MACROS Displays all macros DOSKey
/ OVERSTRIKE Overwrites new characters onto line When typing (default)
/ Reinstall Installs a new copy of DOSKey
macroname Specifies a name for the macro you created
text Specifies commands you want to assign to the macro

driverquery - Enables admin to display the year list of installed device drivers (driverquery /? TABLE)


threw out - Echo is used to repeat the text typed in back to the screen and / or CAN be used to echo to a peripheral on the computer, Such as the COM port

edit - Edit allows the user to view, create, and / or modify off their computer files (Use
edit /? The Get The Table)

Edlin - Edlin is year early version of the MS-DOS edit command. While not as easy as the edit command, edlin allows the user to crudely edit files (edit /? TABLE)

enable - The enable command is a recovery console command to enable a disabled driver or service eg <servicename> enable SERVICE_SYSTEM_START

endlocal - Stops the localization of the environment changes enabled by the setlocal command (Use endlocal /? For full description)

Erase - Erase command is used to remove the files from your computer's hard disk drive or other writable media and (Use erase /? Forum TABLE)

eventcreate - This year commans line tool Enables admin to create a custom event ID and message in the event log specific. (Eventcreate /? TABLE)

exit - Exits back

expand - The expand command is use to take the compressed Windows file and "expand" it to ITS original format (Use Expand /? For Full TABLE)

extract - The Windows extract command is used to take That has compressed files in Windows Cabinet file and place it into the Specified location on the hard disk drive (Use extract /? For a bit o 'history provided at the bottom, as well as the TABLE)

eventvwr.exe - View monitoring and troubleshooting messages


FC - FC, Or file compare, is used to compare two files against each other. Once completed, fc Which Will Differ return lines between the two files. If no lines Differ, You Will Receive a message Indicating no differences encountered (Use FC /? Forum TABLE)
eg "fc c: \ autoexec.bat c: \ config.sys"

find - Allows you to search for text Within the file. Although MS-DOS is not case sensitive ITself, That When typing in the string you are looking for with the find command, it is case sensitive (Use find /? Forum TABLE)

findstr - The findstr command is short for find string and is a command used in MS-DOS to locate specific files Containing a string of plain text (Use findsrt /? Forum TABLE)
findstr eg "computer help" myfile.txt

finger - Displays info about a user on a system running the Finger service Specified. Output varies based on the remote system. (Finger /?)

fixboot - The fixboot command is a Recovery Console command That Creates a new partition boot sector, the fixboot command is only available When you are using the Recovery Console fixboot eg C:

FOR - The FOR variable is used for batch files to run the command Specified When the parameter is met or Specified (Use the FOR /? Forum description)

FORFILES - SELECTS a file (or set of files) and executes the command on that file, helpful for batch jobs. (FORFILES /?)

format - Format is used to erase all of the information off of a computer diskette or fixed drive format eg: Would erase all the contents off the disk. Commonly used on a diskette formatted That has not Been on a diskette or you wish to erase (Use format /?
year do not be an idiot and type format c: and follow throught with it, This Will delete everything off of your C: Wichita, by deafult, is your main drive).

fsutil - Fsutil is a command-line utility That You Can use to perform many tasks related to File Allocation Table (FAT) and NTFS file systems, Such as managing Reparse points, managing sparse files, dismounting a volume or (fsutil /? TABLE)

ftp - FTP is short for File Transfer Protocol, this page contains additional information about using the FTP command and help That command in Unix and MS-DOS
(Use FTP /?)

ftype - Displays or modifies file types used in file extension Associations (fytpe /?)


getmac - This year Enables admin tool to display the MAC address for the network adapters on the system (getmac /? TABLE)

goto - Moves a batch file to a specific label or location, Enabling the user to rerun the batch file or skip other lines depending on user inputs or events (Use goto /?)

gpedit.msc. The local Group Policy editor appears on the screen, Enabling you to adjust Policies That Affect the local machine

GPResult - This command line tool displays the Result Set of Policy (RSoP) data for the target user or computer (GPResult /? TABLE)

gpupdate - Refreshes the policy and any local computers Active Directory-based Group Policies (Use gpupdate /? Forum TABLE.

graftabl - Graftabl command allows the display to show extended characters in graphics mode from a specific code page. Most monitors do not Need the graftabl command to be loaded (Use graftabl /? Forum TABLE)


help - Accomplished what /? Help eg class does

hostname - Display the hostname of the machine the command is being run on


IF - Allows for batch files to perform conditional processing (IF /? Forum TABLE)

inetcpl.cpl - View Internet Explorer settings

ipconfig.exe - View and configure network address settings (Use ipconfig.exe / all for advanced options)


keyb - Keyb is used to change the layout of the keyboard used for different countries (not supported with XP or Vista, NT, 98, 95 only)


label - Label is used to view or change the label of the computer disk drives (label /?
eg a label: mydisk)

loadfix - Loads of software above the first 64K of memory, and runs the software
(Loadfix /? Forum TABLE) loadfix eg C: \ Mouse \

Lock / Unlock command - LOCK allows the user to lock the drive, Enabling direct disk access for a year application.UNLOCK allows users to unlock the drive, disabling direct disk access for year application (Win 98 & 95 ONLY)

lodctr - Updates the registry values ​​related to preformance counters (lodctr /? TABLE)

logoff - The logoff command is command that allows external year to Quickly logoff a user from the command line off their computer or Within a batch file (Note: does not prompt you)

logon - The logon command is a Recovery Console command lists the installations of Windows That 2000 / Windows XP and requests the local administrator password for Thos installations

Logman - Manages and schedules performance counter and event trace log collections on local and remote systems (Logman /? TABLE)


map - The map command is a Recovery Console command displays the physical device name That of a drive letter

Member - Allows you to determine the available, used and free memory (mem /? TABLE)

md / mkdir - Allows you to create your own directories in MS-DOS md eg Creates test example the "test" directory in the directory you are currently in and md C: \ test Creates the "test" directory in the c: \ directory (md / ? TABLE)

fashion - Mode status is used to view and / or modify the port or display setting
(Mode /? TABLE)

more - More allows information to be Displayed one page at a time (more /? TABLE)
eg dir | more and more myfile.txt

mountvol - Creates, deletes, or lists a volume mount point (mountvol /? TABLE)

move - Allows you to move files or directories from one folder to Another, or from one drive to Another (more /? TABLE) eg move c: \ windows \ temp \ *. * C: \ temp

mscdex - Mscdex is a CD-ROM "redirector" that Enables CD-ROM access from the MS-DOS

msinfo32.exe - Displays info about hardware and software advanced settings

msra.exe - Receve help from (or offer help to) a friend over the internet


NET - The net command is used to update, fix, or view the network or network settings
(Net /? TABLE) eg net view \ \ hope and net localgroup

netsh - MS-DOS Command That Enables users to change network settings Their network device Such as changing from a dynamic address to a static address or changing the IP address (netsh /? TABLE) eg netsh dump (do not be stupid and hit enter)

netstat - The netstat command is used to display the TCP / IP network protocol statistics and information (netstat /? TABLE) eg netstat-ban

nlsfunc - Used to load country specific information (nlsfunc /? TABLE) eg Below:
nlsfunc a: \ lang \ Spain.dat (do not UNLESS you're fluent in spanish)

nslookup - MS-DOS Utility That Enables the user to look up an IP address of a domain or host on a network (nslookup /? TABLE) Notes: type 'quit' to stop nslookup


openfiles - Enables admin to year lost or disconnect files and folders that have Been opened on the system (openfiles /? TABLE)


path - Path is used to specify the location WHERE MS-DOS looks When using the command
(Path /? TABLE) eg path = c: \ windows \ command

PathPing - Similar to the tracert command, PathPing provides users with the Ability of locating spots that have network latency and network loss (PathPing /? TABLE)
PathPing eg

pause - The pause command is used Within batch file to your computer and allows the computer to pause the batch file Currently running until the user presses any key

perfmon.exe * - Monitor the reliability and preformance of local or remote computers (Use preform.exe / report for advanced settings)

ping - Helps in Determining TCP / IP Networks IP address as well as cause issues with the network and assists in resolving Theme (ping /? TABLE) eg ping localhost

popd - Changes to the directory or network path Stored by the pushd command
(Popd /? TABLE)

powercfg - This command line tool Enables users to control the power settings on a system (powercgf /? TABLE)

prince - This command allowed users to print a text file to a line printer in the background (print /? TABLE) print eg C: \ file.txt / c / d: lpt1

prompt - Allows you to change the MS-DOS prompt to display more or less information
(Prompt /? TABLE MUST USE!)

pushd - Stores a directory or network path in memory so it CAN be Returned to at any time (pushd /? TABLE) eg pushd ..


rasdial - Not sure actually, BUT rasdial /? Some info and provides a link that you CAN use for more information.

rd / rmdir - Removes empty directories in MS-DOS eg
Row C: \ users \ John_smith \ appdata \ temp \ av19023

recover - Recovers readable data from a bad or defective disk (recover /? TABLE)

reg - Command line tool registry That Enables you to change, display, update, and Otherwise handled the registry from the prompt (reg /? TABLE)

regedit32.exe * - Makes changes to the Windows registry.

rem - Records comments (remarks) in a batch file or CONFIG.SYS (rem /? TABLE)

ren / rename - Used to rename files and directories from the original name to the new name
(Ren /? TABLE) eg ren c: \ Chop hope

relog - Creates new preformance Relog logs from the existing time logs preformance by changing the sampling rate and / or converting the file formats. Supperts all preformance log formats, Including Windows NT 4.0 compressed logs. (Relog /? TABLE)

replace - Replaces files (replace /? TABLE)

road - Use the command to manually configure the routes in the routing table (route /? TABLE)

rstrui.exe * - Restore your computer system to year eariler states

runas - Enables the user to execute the program on Another computer as yourself or as Another user (runas /? TABLE)


scandisk - Scandisk is designed to check the integrity of a computer hard disk drive to verify there is no Significant issues That Which Could cause issues with your computer time (scandisk /? TABLE) eg scandisk / all

SC - SC is a command line software used for communicating with the Service Control Manager and services. (SC /? TABLE)

scanreg - Using the user scanreg HIS or HER CAN backup registry manually and or allow Windows to backup the registry daily (default) 98 FOR WINDOWS AND ME

secedit - Configures and analyzes system security by comparing your current configuration to at Least one template (secedit /? TABLE)

set - Allows you to change one variable or string to Another (set /? GIANT TABLE)
eg set path = c: windows \ command

setlocal - Enables local environments to be Changed without affecting anything else
(Setlocal /? TABLE)

setver - For setver to work, setver.exe device must be loaded in the config.sys.Setver is used to imitate the version of DOS in homes year application was unable to run Because of the newer version of MS-DOS. (Setver /? TABLE) setver eg 4.01

SETX - Creates or modifies environment variables SETX in the user or system environment. Can set variables based on Arguments, regkeys, or file input (SETX /? TABLE)

sfc - Scans and replaces any Microsoft Windows file on the computer and replaces any Changed file with the correct version (sfc /? TABLE) eg sfc / scannow

share - Installs support for file sharing and locking capabilities (share /? TABLE)

shift - Changes the position of replaceable parameters in a batch program (shift /? TABLE)

shutdown - Enables the user to shutdown a Windows XP computer from the command line as well as perform additional features not available through Windows That is
(Shutdown /? Force cool features)

sort - Sorts the input and displays the output to the screen (sort /? TABLE)
sort eg test.txt

start - Enables the user to start a separate window in Windows from the MS-DOS prompt
(Start /? GIANT TABLE)

subst - Allows you to substitute the folder on your computer for Another Drive Letter
(Subst /? TABLE) substances eg:.

systeminfo - Displays complete information system (XP Professional and Vista ONLY)
(Systeminfo /? TABLE)

systemroot - The systemroot command is a Recovery Console command sets the current directory That as the system root directory (Win 2000 and XP only)


takeown - This tool allows to recover access to admin year to file That was denied by re-assigning file ownership (takeown /? TABLE)

taskmgr.exe - Views details about programs and Processes running on your computer

taskkill - Allows user to kill the task from the MS-DOS prompt. (XP Pro and Vista ONLY)
(Taskkill /? TABLE) eg taskkill / f / im notepad.exe

tasklist - This tool displays the list of Currently Running Processes on either the local or remote machine. (Tasklist /? TABLE)

telnet - Enables the user to telnet to Another Computer from the command prompt (telnet /? TABLE) eg telnet

time - Allows the user to view and edit the computer's time

timeout - Pauses the command processor for the Specified number of seconds (timeout /? TABLE)

tracert - The tracert command is used to visually see a network packet being sent and received and the amount of hops required for That packet to get to STI destination
(Tracert /? TABLE)

tracerpt - Processes event trace logs or real-time data from instrumented event trace providers and allows you to generated trace analysis reports and CSV (comma-delimited) files for the events generated (tracerpt /? TABLE)

tree - Allows the user to view a listing of files and folders in an easy to read listing (tree /? TABLE)

type - Allows the user to see the contents of a file (Type /? TABLE) eg type c: \ autoexec.bat

typeperf - Writes performance counter on to the command window, or to a supported log file format. To stop typeperf, press CTRL + C (typeperf /? TABLE)


see - Displays the version of MS-DOS or if running Windows 95 or above the version of Windows

verify - Enables or disables the feature to determine if files have Been Written properly (verify on or verify off)

vol - Displays the volume information about the Designated vol drive eg c:

vssadmin - Displays current volume shadow copy backups and all installed shadow copy writers and providers in the command window


W32tm - A tool used to diagnose problems occuring with Windows Time (W32tm /? TABLE)

waitfor - Synchronizes multiple computers across a network by using signals (waitfor /? TABLE)

Where - Locates and displays all of the files that match the given parameter. By default, the search is done in the current directory to the PATH environment variable and (where /? TABLE)

whoami - Returns domain name, computer name, user name, group names, logon identifier, and privileges for the user who is currently logged on (whoami /? TABLE)

winver.exe - Displays info about MS OS

wscui.cpl - View and configure the Security Essentials for your computer


xcopy - Xcopy is a powerful version of the copy command with additional features, has the capability of moving files, directories, and drives from one location Whole Even to Another (xcopy /? TABLE) eg xcopy c: \ temp / s

Orders can be launched from Run or Command Prompt.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment is processed.