From 153629fb10dc3195037f642b38fbbbb5c40f3db6 Mon Sep 17 00:00:00 2001 From: school Date: Tue, 8 Jan 2019 15:23:20 -0600 Subject: [PATCH] added help to path_append --- workers/path_append.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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