@echo off
REM ============================================================
REM  BenchKit launcher  -  just double-click this file.
REM  Runs BenchKit.ps1 (kept in the same folder) and lets it
REM  ask for admin rights. No PowerShell setup needed.
REM ============================================================
cd /d "%~dp0"
if not exist "%~dp0BenchKit.ps1" (
    echo Could not find BenchKit.ps1 next to this launcher.
    echo Keep BenchKit.cmd and BenchKit.ps1 together in the same folder.
    pause
    exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -STA -File "%~dp0BenchKit.ps1" %*
