EU4 run_commands Console Command

Documentation and detailed help with working examples.
run_commands Command
PlayerDLC: None

This console command executes all commands contained in the file that is identified by the given name.

run_commands [Filename]



The name of the file, placed in the game's Documents folder (Documents/Paradox Interactive/Europa Universalis IV), that you wish to run all commands within (with extension). For example, example.txt.


Here are examples of how to use run_commands.

run_commands example.txt

This command will run all the commands inside the file example.txt.

Looking for EU4 console commands?

Search our complete list!

Quick Overview

The run_commands command in EU4 is used to execute a specific file that contains a list of console commands.

By invoking this command, you can automatically apply a sequence of actions or changes in your game, which have been predefined in the specified file.

This can be used to automate repetitive tasks, test specific scenarios, or just easily apply a desired set of changes to your game.

In-Depth Description

In Europa Universalis IV, the command run_commands is used to execute a specified file that contains a list of console commands.

This .txt file should be stored in your game's root directory (where the eu4.exe is located), and its name should be passed as an argument to the run_commands function.

The syntax for this command is: run_commands [file name]

Here is how you can use it:

  1. Create a .txt file in your game's root directory.
  2. Inside this .txt file, write down the console commands you want to execute.
  3. Save the file and then open the game.
  4. Open the console in-game.
  5. Type run_commands followed by the name of your file (with the .txt extension) and press Enter.

This command is incredibly powerful and flexible because it allows you to automate actions and set up game scenarios more quickly.

For instance, if you often find yourself running a certain sequence of commands when you start a new game, you can save these commands into a .txt file, and then simply run that file using the run_commands command.

How to Open the Command Console

In EU4, cheats are executed from the command console, a text box that you type commands into.

To open the command console press the ~(tilde) key, which is typically located under ESC (escape).

If your keyboard does not have that key, or pressing ~ does not work, try the following keys:

  • ~
  • SHIFT + 2
  • SHIFT + 3
  • ALT + 2 + 1

Type your command into the console, and then press ENTER .