File Type Windows Command File IconWindows Command File
File Format Standard (developed by Microsoft)
Usage Open manually; may be referenced by an application; may run a program or script when opened
Rank ★ ★ ★  Common

Batch file that contains a series of commands executed in order; introduced with Windows NT, but can be run by DOS or Windows NT systems; similar to a .BAT file, but is run by CMD.EXE instead of COMMAND.COM.

Since CMD files are saved in a plain text format, they can be viewed and edited with a text editor.

Open With

IconMicrosoft Windows

IconMicrosoft Notepad

IconMicrosoft WordPad


IconParallels Desktop for Mac with Windows installed

Updated 2007