@echo off setlocal cd /d "%~dp0" set "GROUND_PYTHON=%~dp0.venv\Scripts\python.exe" if not exist "%GROUND_PYTHON%" set "GROUND_PYTHON=python" "%GROUND_PYTHON%" -B -m pierzainer_ground gui if errorlevel 1 pause endlocal