diff --git a/workers/path_append.bat b/workers/path_append.bat index f5d6ded..015e844 100644 --- a/workers/path_append.bat +++ b/workers/path_append.bat @@ -1,2 +1,7 @@ @echo off -%windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File %~dp0pa.ps1 %1 \ No newline at end of file +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 +) \ No newline at end of file