@echo off setlocal echo JMK RB RaceController - Windows 11 setup echo. powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0setup.ps1" %* set "EXIT_CODE=%ERRORLEVEL%" echo. if not "%EXIT_CODE%"=="0" ( echo [ERROR] Setup failed with exit code %EXIT_CODE%. ) else ( echo [OK] Setup completed. ) echo Press any key to close. pause >nul exit /b %EXIT_CODE%