@echo off REM Run Quick Benchmark PowerShell script using pwsh if available, otherwise Windows PowerShell setlocal enabledelayedexpansion set SCRIPT_DIR=%~dp0 where pwsh >nul 2>&1 if %ERRORLEVEL%==0 ( pwsh -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%RunQuickBenchmark.ps1" -All set EXITCODE=!ERRORLEVEL! ) else ( powershell -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT_DIR%RunQuickBenchmark.ps1" -All set EXITCODE=!ERRORLEVEL! ) echo. pause endlocal exit /b %EXITCODE%