Are MS-DOS and the Windows command line case-sensitive?

Updated: 11/13/2018 by Computer Hope
Windows command line (DOS)

For the most part MS-DOS, the Windows command line, and most of the commands are not case-sensitive. Unlike case-sensitive command line operating systems, like Linux, commands such as the MS-DOS dir command can be typed as DIR, Dir, or dir. In a case-sensitive operating systems, only the lowercase command would work.


There are some commands with additional options (switches) that are case-sensitive. If these options or switches are case-sensitive, it will be mentioned on the Computer Hope MS-DOS commands page.

Additional information