MSDOS Commands

MS-DOS (Microsoft Disk Operating System) is a command line user interface, and although not commonly used today, it was the main operating system for the PC-compatible platform in the 1980s. After its launch in 1981 several versions of MSDOS were released up until Microsoft stopped developing it in 2000.

The following table displays the most common MSDOS commands. Although fairly comprehensive, the list is non-exhaustive and some of these commands are now defunct and/or may not work with your particular DOS version or Windows Command Line.


DOS Commands | Descriptions

Command Description
ANSI.SYSReassigns keys, alters display graphics, and cursor movement
APPENDDOS looks at other directories when file editing/running commands
ARPDisplays, removes, adds arp info from network devices
ASSIGNAssigns a drive letter to an alternate drive
ASSOCViews file associations
ATSchedules a time to execute programs or commands
ATMADMLists addresses and connections seen by Windows ATM call manager
ATTRIBDisplays/changes file attributes
BATCHRecovery console command that executes commands in a file
BOOTCFGRecovery console command that allows view/modify/rebuild boot.ini
BREAKEnables/disables CTRL+C
CACLSViews, modifies file ACL's
CALLCalls a batch file from another batch file
CDChanges directories
CHCPSupplements International keyboard/character set info
CHDIRChanges directories
CHKDSKChecks HDD running FAT for errors
CHKNTFSChecks HDD running NTFS for errors
CHOICESpecifies listing of multiple options within batch file
CLSClears screen
CMDOpens command interpreter
COLORChanges foreground/background colour of the MSDOS window
COMMANDOpens command interpreter
COMPCompares files
COMPACTCompresses/uncompresses files
CONTROLOpens Control Panel icons from MSDOS prompt
CONVERTConverts FAT to NTFS
COPYCopies files to another location
CTTYChanges computer's input/output devices
DATEViews or changes system date
DEBUGDebug utility creates assembly programs/modifies hardware settings
DEFRAGRearranges HDD to help with loading programs
DELDeletes files
DELETERecovery console command that deletes a file
DELTREEDeletes files and/or directories
DIRLists directory contents
DISABLERecovery console command to disable system services/drivers
DISKCOMPCompare disks
DISKCOPYCopies contents of one disk to another
DOSKEYViews and executes commands that have previously run
DOSSHELLGraphical user interface to assist MSDOS users
DRIVPARMEnables overwrite of original device drivers
ECHODisplays messages and enables/disables echo
EDITViews/edits files
EDLINViews/edits files
EMM386Loads extended Memory Manager
ENABLERecovery console command to enable/disable service, driver
ENDLOCALStops localization of environment changes enabled by SETLOCAL
ERASEErases files
EXITExits from command interpreter
EXPANDExpands Windows files to original format
EXTRACTExtracts files from Windows cabinets
FASTHELPDisplays MSDOS commands lists and info about them
FCCompares files
FDISKUtility to create partitions on HDD
FINDSearches for text within a file
FINDSTRSearches for text string within a file
FIXBOOTWrites a new boot sector
FIXMBRWrites new boot record to disk drive
FORBoolean used in batch files
FORMATCommand to erase/prepare disk drive
FTPCommand to connect/operate on FTP server
FTYPEDisplays/modifies file types used in file ext associations
GOTOMoves a batch file to a specific label/location
GRAFTABLShows ext characters in graphics mode
HELPDisplays a listing of commands and explanation
IFAllows batch files to perform conditional processing
IFSHLP.SYS32 bit file manager
IPCONFIGNetwork command to view network adapter settings/assigned values
KEYBChanges keyboard layout
LABELChanges disk drive label
LHLoads device driver into high memory
LISTSVCRecovery console command that displays services/drivers
LOADFIXLoads program above first 64k
LOADHIGHLoads device driver into high memory
LOCKLocks HDD
LOGONRecovery console command to list installations/enable admin login
MAPDisplays device name of drive
MDCommand to create new directory
MEMDisplays system memory
MKDIRCommand to create new directory
MODEModifies port/display settings
MOREDisplays one page at a time
MOVEMoves files from one directory to another
MSAVEarly Microsoft Virus scanner
MSDDiagnostics utility
MSCDEXUtility used to load and provide access to CDROM
NBTSTATDisplays protocol statistics/current TCP/IP connections using NBT
NETUpdates, views, fixes network/network settings
NETSHConfigures dynamic/static network info from DOS
NETSTATDisplays TCP/IP network protocol statistics/info
NLSFUNCLoads country specific info
NSLOOKUPLooks up IP address of a domain/host on a network
PATHViews/modifies computer's path location
PATHPINGViews/locates locations of network latency
PAUSEBatch file command to stop the processing of a command
PCPARKParks HDD heads to enable safe shutdown - used on early versions
PINGTest/send info to another computer, network or network device
POPDChanges to directory/network path stored by PUSHD command
POWERConserves power with computer portables
PRINTPrints data to printer port
PROMPTViews/changes MSDOS prompt
PUSHDStores directory/network path in memory for future reference
QBASICOpens QBasic
RDRemoves empty directory
RENRenames file/directory
RENAMERenames file/directory
RMDIRRemoves empty directory
ROUTEViews and configures Windows network route tables
RUNASEnables user to remote execute a program on another computer
SCANDISKRuns scandisk utility
SCANREGScans registry/recover registry from errors
SETChanges one variable/string to another
SETLOCALEnables local environments to be altered without global affect
SETVERChanges msdos version to trick older dos programs
SHAREInstalls support for file sharing/locking capabilities
SHIFTChanges position of replaceable parameters in batch program
SHUTDOWNShutsdown computer from the DOS prompt
SMARTDRVCreates disk cache in conventional memory/extended memory
SORTSorts input and displays output to screen
STARTStarts separate window in Windows from MSDOS prompt
SUBSTSubstitutes a folder on computer for another drive letter
SWITCHESRemoves/adds functions from MSDOS
SYSTransfers system files to drive
TELNETTelnet to another computer/device from prompt
TIMEViews/modifies system time
TITLEChanges title of MSDOS window
TRACERTVisually view network packets route across a network
TREEViews visual tree of HDD
TYPEDisplays contents of a file
UNDELETEUndeletes deleted file
UNFORMATUnformats HDD
UNLOCKUnlocks HDD
VERDisplays version info
VERIFYEnables/disables feature to see if files have been correctly written
VOLDisplays volume info about designated drive
XCOPYCopies files, directories, and/or drives from one location to another

Bookmark and Share

© Copyright 2005-2010 rdweb.co.uk. All rights reserved.