@echo off setlocal powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0tools\install_rf001_rx_autostart.ps1" set "EXIT_CODE=%ERRORLEVEL%" echo. if not "%EXIT_CODE%"=="0" echo INSTALL_FAILED=%EXIT_CODE% pause exit /b %EXIT_CODE%