diff --git a/vendor/lib/lib_path.cmd b/vendor/lib/lib_path.cmd index 55d28cb..4032283 100644 --- a/vendor/lib/lib_path.cmd +++ b/vendor/lib/lib_path.cmd @@ -32,6 +32,7 @@ exit /b :::options: ::: ::: append Append to the path env variable rather than pre-pend. +::B ::: :::output: ::: @@ -168,7 +169,7 @@ exit /b set "position=" ) - dir "%add_path%" >NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL + dir "%add_path%" 2>NUL | findstr -i "\.COM \.EXE \.BAT \.CMD \.PS1 \.VBS" >NUL if "%ERRORLEVEL%" == "0" ( set "add_to_path=%add_path%"