Batch .cmd .bat A batch file is a script file in DOS and Microsoft Windows. .CMD is used for batch files in the Windows NT family. Posts Batch File Basics Previous Next