@echo off echo Running PowerShell build script... powershell.exe -ExecutionPolicy Bypass -NoProfile -Command "& {cd 'C:\git\channel3\esp32_channel3'; .\build.ps1}" > C:\git\channel3\esp32_channel3\ps_output.txt 2>&1 echo Done. Exit code: %ERRORLEVEL% type C:\git\channel3\esp32_channel3\ps_output.txt