@echo off set SCRIPT_DIR=%~dp0 powershell.exe ^ -NoProfile ^ -ExecutionPolicy Bypass ^ -File "%SCRIPT_DIR%install-hook.ps1" ^ %* pause