- If
Data/StartupScript.batis provided (e.g. via a MO2 plugin) then it is run when the Main Menu loads - Else if an environment variable named
SKYRIM_STARTUP_SCRIPTis configured to the path of a script, that script is run when the Main Menu loads
Data/StartupScript.bat is provided (e.g. via a MO2 plugin) then it is run when the Main Menu loadsSKYRIM_STARTUP_SCRIPT is configured to the path of a script, that script is run when the Main Menu loads