@echo off setlocal EnableExtensions set "ps1=R:\Creative\artsy\maya\0 ProjectStructure\UpdateSequences.ps1" echo Running PowerShell update script... powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%" set "rc=%errorlevel%" echo PowerShell exited with RC=%rc% echo Done. pause >nul exit /b %rc%