Skyrim Codex

bat Console Command

Documentation and examples for the bat command in Skyrim.

bat

Debug & InfoAlias: batch

Run a batch file of console commands.

ParameterDescription
File NameTextrequired

Command builder

Fill in the parameters to build a ready-to-paste bat command.

File Name

Examples

Here is an example of how to use bat.

Runs the commands listed in mysetup.txt from the game folder.

Overview

Executes a text file of console commands line by line, letting you run many commands at once from a saved script placed in the game's root folder. It is perfect for setting up a character or loadout repeatedly without retyping. Pass the file name without the extension. A favorite for creating reusable cheat or testing scripts.

Frequently asked questions

How do you use the bat command in Skyrim?

Open the console with the tilde (~) key while in-game, type bat followed by its parameters, then press Enter. For example: bat mysetup. The console is only available in the PC version of Skyrim.

What does the bat command do?

Run a batch file of console commands.

What are the parameters for the bat command?

The syntax is bat [file name]. It takes one argument: file name.

Does the bat command require any DLC?

No. bat is part of the base game and works without any DLC.

Does using bat disable Steam achievements?

Opening the console and entering any command, including bat, disables Steam achievements for the rest of that play session on PC. Reload an earlier save or use an achievement-enabler mod if you still want achievements.