Operating Systems - MS-DOS - Commands

Command Description
dir lists the contents of a folder
cd changes folder
cd .. parent folder
md or mkdir creates a new folder
deltree deletes a folder and all sub-folders
copy, xcopy copies a file
move moves a file
del deletes a file
type displays the contents of a file
type |more displays file contents page by page, pausing after each page
help help for the given command
print prints the given file
attrib (-/+r, -/+a, -/+s, -/+h) changes a file's attributes (- deactivates, + activates, r: read-only, a: archive, s: systeme, h: hidden file)
format formats the given drive
label assigns a drive name to a drive
ver gives 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).