Home : File Types : BAT File

.BAT File Extension

File TypeDOS Batch File

3.9 (167 Votes)
CategoryExecutable Files

What is a BAT file?

A BAT file is a DOS batch file used to execute commands with the Windows Command Prompt (cmd.exe). It contains a series of line commands that typically might be entered at the DOS command prompt. BAT files are most commonly used to start programs and run maintenance utilities within Windows.

More Information

BAT files can be manually created and edited to automate tasks and perform repetitive operations. They can be written with a basic text editor, such as Notepad, and saved with a ".bat" extension.

Older Windows operating systems such as Windows 95 and 98 run BAT files as well.

NOTE: Avoid opening unknown BAT files since they may contain viruses or other malicious code.

Common BAT Filenames

AUTOEXEC.BAT - The batch file run by DOS and older versions of Windows (95, 98, and Me) upon startup. It is located in the root directory of the boot drive.

Open and view .BAT files with File Viewer Plus.
Programs that open BAT files
Updated 8/27/2019

About BAT Files

Our goal is to help you understand what a file with a *.bat suffix is and how to open it.

The DOS Batch file type, file format description, and Mac and Windows programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.