Operating Systems - MS-DOS - Commands

MS-DOS (Microsoft Disk Operating System) is an OS for x86-based personal computers. After having been the head OS for IBM PC compatible computers in the 1980s, it was gradually replaced by operating systems with a graphical user interface. Today, there are many MS DOS games available online for retro games fans.

The MS DOS logo is the following:


Commands

Here is a list of the most common MS-DOS commands:

Command Description
dirlists the contents of a folder
cdchanges folder
cd ..parent folder
clsclears the window
md or mkdircreates a new folder
deltreedeletes a folder and all sub-folders
copy, xcopycopies a file
callcalls one batch program file from another
chkdskchecks a disk and displays a status report.
chkntfsdisplays or modifies the checking of disk at startup.
assocdisplays or modifies filename extension associations.
movemoves a file
deldeletes a file
typedisplays the contents of a file
moredisplays file contents page by page, pausing after each page
help help for the given command
printprints the given file
notepadruns the Windows Notepad text editor
attrib (-/+r, -/+a, -/+s, -/+h)changes a file's attributes (- deactivates, + activates, r: read-only, a: archive, s: systeme, h: hidden file)
formatformats the given drive
labelassigns a drive name to a drive
vergives the version number
Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Operating Systems - MS-DOS - Commands », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).

Subscribe To Our Newsletter!

The Best of CCM in Your Inbox

Subscribe To Our Newsletter!