@echo off call C:\Scripts\wBase\baseENV.bat call C:\Scripts\wLocal\localENV.bat @REM xxxxxxx echo "START: %~n0" @REM set powershell variables set PSFILE="%WBASE%\bin\SoftwareList.ps1" echo "Dump software list" %POWERSHELL% -ExecutionPolicy Bypass -File %PSFILE% > "C:\%check_computername%.txt" echo "FINISHED: %~n0"