@echo off :: Proxy Suite: install, or upgrade, as an administrator. Copies the program into :: %ProgramFiles%\ProxySuite, registers the service there and starts it. net session >nul 2>&1 || ( powershell -NoProfile -Command "Start-Process -Verb RunAs -FilePath '%~f0'" exit /b ) "%~dp0proxy-suite-service.exe" install pause