@echo off setlocal enabledelayedexpansion cd /d "%~dp0" set path=%cd%\path;%path% REM Location to your py.exe/python.exe - If the Python launcher is installed (fairly likely), py should suffice. REM If Python does not launch, set this to the full path if your python.exe, like so: REM set pyexe=C:\Program Files\Python38\python.exe set pyexe=py echo WARNING! This will apply opus-nt to your currently running OS. pause advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-trustedInstaller"' /startdirectory "%cd%" /runas 8 /waitprocess 1 /run advancedrun /exefilename "cmd.exe" /commandline '/c "set path=%path% & call "%pyexe%" run.py online modpath=mods-online"' /startdirectory "%cd%" /runas 4 /waitprocess 1 /run pause