Click here to analyse any file

HomeFormats.CMDFull

What is a .CMD file?

CMD is a Windows command script - the same idea as a .bat file but interpreted by the newer Windows NT command processor (cmd.exe), with a few extra features.

Did you know
  • Windows NT introduced .cmd in 1993 to distinguish its scripts from legacy MS-DOS .bat files that ran under COMMAND.COM.
  • Analyser handles .CMD alongside related formats such as .HTML, .CSS, .JS and more.
  • In Analyser's format library, .CMD sits in the Data & code category.
What Analyser shows you
Preview and inspect HTML, CSS, JavaScript, TypeScript, JSON, YAML, XML and Markdown source files, plus Windows scripts - PowerShell (PS1, PSM1, PSD1), reading their comment-based help synopsis, #Requires directives, function and parameter counts, CmdletBinding and Authenticode signing; and batch/command scripts (BAT, CMD), reading the echo state, labels, variables set and the external tools they invoke - all alongside the source.
Open a .CMD file
Drag a .CMD file onto the Analyser home page (or tap to pick one). It opens entirely in your browser - nothing is uploaded, there is no account, and it works offline once installed.
Related formats
.HTML · .CSS · .JS · .TS · .TSX · .JSX · .JSON · .YAML · .XML · .MD · .HTM · .MJS · .YML · .TXT · .PS1 · .PSM1 · .PSD1 · .BAT. See all supported file types.