BAT

bat icon

Batch file (executable)

File type: Dangerous and malicious file, Source code and script file, Email attachment blocked file, Program executable file

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.

What is bat file?

File type category:
Dangerous and malicious file
Source code and script file
Email attachment blocked file
Program executable file

Date updated: December 31, 2024

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:
application/x-msdos-program
application/x-msdownload
application/bat
application/x-bat
application/textedit
application/octet-stream

How to open bat file?

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

How to convert bat file?

Tools like Advanced BAT to EXE Converter is able to compile batch script to executable file (exe).

Suggested software to open bat file:

Associated software actions with the bat file

Software applications that can open bat files:

Microsoft Windows icon Microsoft Windows (Microsoft Windows)

NotePad++ text editor icon NotePad++ text editor (Microsoft Windows)

PSPad icon PSPad (Microsoft Windows)

Sublime Text icon Sublime Text (Microsoft Windows)

Microsoft Windows 7 icon Microsoft Windows 7 (Microsoft Windows)

Microsoft Windows NotePad icon Microsoft Windows NotePad (Microsoft Windows)

Microsoft Windows 8 icon Microsoft Windows 8 (Microsoft Windows)

Microsoft Windows XP Professional icon Microsoft Windows XP Professional (Microsoft Windows)

Microsoft Windows 10 icon Microsoft Windows 10 (Microsoft Windows)

Microsoft Windows Vista icon Microsoft Windows Vista (Microsoft Windows)

Microsoft Windows 2000 icon Microsoft Windows 2000 (Microsoft Windows)

Microsoft Windows NT 4.0 icon Microsoft Windows NT 4.0 (Microsoft Windows)

Microsoft Windows Millennium Edition icon Microsoft Windows Millennium Edition (Microsoft Windows)

gedit icon gedit (Linux/Unix)

Visual Studio Code icon Visual Studio Code (Multiplatform)

MS-DOS icon MS-DOS (Microsoft MS-DOS)

Software applications that can edit bat files:

NotePad++ text editor icon NotePad++ text editor (Microsoft Windows)

PSPad icon PSPad (Microsoft Windows)

Sublime Text icon Sublime Text (Microsoft Windows)

Microsoft Windows NotePad icon Microsoft Windows NotePad (Microsoft Windows)

gedit icon gedit (Linux/Unix)

Visual Studio Code icon Visual Studio Code (Multiplatform)

Software capable of saving bat files:

NotePad++ text editor icon NotePad++ text editor (Microsoft Windows)

PSPad icon PSPad (Microsoft Windows)

Sublime Text icon Sublime Text (Microsoft Windows)

Microsoft Windows NotePad icon Microsoft Windows NotePad (Microsoft Windows)

gedit icon gedit (Linux/Unix)

Visual Studio Code icon Visual Studio Code (Multiplatform)

Software apps that create bat files:

NotePad++ text editor icon NotePad++ text editor (Microsoft Windows)

PSPad icon PSPad (Microsoft Windows)

Microsoft Windows NotePad icon Microsoft Windows NotePad (Microsoft Windows)

Visual Studio Code icon Visual Studio Code (Multiplatform)

Software apps that import bat files:

no icon available Advanced BAT to EXE Converter (Microsoft Windows)

Software apps that recover bat files:

no icon available FixExec (Microsoft Windows)