@echo off REM Portable launcher for SimVulcan. Resolves the exe path relative to this REM script so the project folder can be moved without breaking the shortcut. setlocal set "SCRIPT_DIR=%~dp0" set "EXE_DIR=%SCRIPT_DIR%build\vs2022\src\app\Release" set "EXE=%EXE_DIR%\SimVulcan.exe" if not exist "%EXE%" ( echo [ERROR] SimVulcan.exe not found at: echo %EXE% echo. echo Build the project first: echo cmake --preset windows-msvc-release echo cmake --build --preset windows-msvc-release pause exit /b 1 ) cd /d "%EXE_DIR%" start "" "%EXE%" endlocal