@echo off setlocal powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\start-navisworks.ps1" %* if errorlevel 1 exit /b 1 exit /b 0