@echo off if "%1" == "help" ( echo:Usage: %0 path echo:path Path to be added to the user PATH variable ) else ( %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File %~dp0pa.ps1 %1 )