Your email address belongs to a school and you are eligible for a free educational premium account.
Learn more

BAT - DOS Batch File

What is a BAT file

Similar to EXE files, BAT files are executable files found on Windows computers. More precisely, it's a DOS batch file used by the Windows Command Prompt. These files can be generated by a user to execute and perform repetitive tasks and operations on a windows machine. BAT files can be created and edited in any text editor such as Notepad or WordPad since they consist of plain (ASCII) text.

Executable BAT files contain commands that are usually entered in the Windows Command Prompt in DOS. Commands are written in single lines. Creating or altering BAT files can automatically run certain processes on a Windows computer. Usually, they launch programs, perform scans or operate maintenance utilities. Unknown BAT files should be thoroughly scanned and checked before opening since the format is prone to containing malware.

Here's a small, but not exhaustive list of programs that can open BAT documents:

  • Parallels Desktop (Mac)
  • Microsoft Windows (Windows)
  • Microsoft Windows Command Prompts (Windows)
  • Any Text Editor
About
Extension BAT
MIME type application/bat, application/x-bat, application/x-msdos-program, application/textedit, application/octet-stream
Useful links