@echo off setlocal "%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\run-key.ps1" set "runnerExit=%ERRORLEVEL%" if not "%runnerExit%"=="0" ( echo. echo KEY test launcher failed with exit code %runnerExit%. pause ) exit /b %runnerExit%