.BAT File

.bat is DOS Batch File

Key Features: .BAT File Extension

Features Description
File Extension .bat
Format Text
Created by Microsoft
Category Executable

What's on this Page

  1. How to open:
  2. How to convert:

What is an .BAT file?

The bat file extension is traditionally used for batch files. A batch file is a text file that contains a sequence of commands for a computer operating system.

It's called a batch file because it batches (bundles or packages) into a single file a set of commands that would otherwise have to be presented to the system interactively from a keyboard one at a time. A batch file is usually created for command sequences for which a user has a repeated need. Commonly needed batch files are often delivered as part of an operating system. You initiate the sequence of commands in the batch file by simply entering the name of the batch file on a command line.

In MS-DOS. the best known batch file used was is the AUTOEXEC.BAT that initialized DOS when the system was started. In Unix-based operating systems, a batch file is called a shell script. In IBM's mainframe VM operating systems, it's called an EXEC.

MIME types used:

Files with bat file extension can be commonly found as so called batch files. These text files are small scripts that contain a sequence of commands for a computer operating system.

How to open:

You can edit batch files (*.bat) with any text editor.

How to convert:

Tools like Advanced BAT to EXE Converter is able to compile batch script to executable file (exe).
DOS Batch File - File openers


  1. File Viewer Plus
  2. Microsoft Windows Command Prompt
  3. Microsoft Windows


  1. Parallels Desktop for Mac with Windows installed




How to solve problems with BAT files