.BAT file — Windows batch script
Command script interpreted by Windows command processor; read as text because opening it normally can run commands.
Technical information
| Extension | .bat |
|---|---|
| Category | Developer |
| MIME type hint | application/octet-stream |
| PRONOM PUID | x-fmt/413 |
Evidence for .bat
- PRONOM record
- Batch file (executable) (x-fmt/413)
- Version on this record
- Unspecified
- External extensions
- .bat
- Same extension in the registry
- 1
- Record provenance
- Digital Preservation Department / The National Archives
Compare your file with .bat
Read the file on this device to compare byte evidence with the registry and show any competing candidates. The result is a lead for investigation.
Registry evidence and possible variants
The registry associates .bat with 1 record(s). These are version or format candidates, not confirmation of the contents of your file.
| PUID | Recorded format | Version | Signature references |
|---|---|---|---|
| x-fmt/413 | Batch file (executable) | Not specified | None listed |
No fixed-byte rule in the imported local subset is associated with this extension. Identification may still use generic headers, but a version-specific match is not promised.
Source: PRONOM/DROID V125; registry names and version labels are retained as published. DROID V125 · Open Government Licence v2.0
How to open or inspect this file
- Keep the original and use File Identifier to inspect the contents. Extensions alone are not conclusive.
- Application to research (verify exact version): Text editor. Check the version and official compatibility documentation.
- Verify the output on a separate copy; never execute unfamiliar files just to inspect them.
Common questions
Can I open this file in FileTypeKit?
The related tools can inspect or process supported subsets; see each tool’s limits.
Will changing the extension convert my file?
No. A filename change leaves the underlying bytes unchanged. Use a compatible converter and keep the original.