@echo off setlocal cd /d "%~dp0" powershell.exe -NoLogo -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\serve.ps1" %* if errorlevel 1 pause