@echo off setlocal cd /d "%~dp0" echo Looking for your newest X4 save under Documents\Egosoft\X4 ... python -m x4_advisor if errorlevel 1 ( echo. echo Something went wrong -- see the message above. echo If it couldn't find your save automatically, run: echo python -m x4_advisor --save "path\to\your\save.xml.gz" pause exit /b 1 ) echo. echo Done. Opening x4_advisor_report.md ... start "" "x4_advisor_report.md" pause