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