diff --git a/lib/read.bat b/lib/read.bat index 689651e..ce34b36 100644 --- a/lib/read.bat +++ b/lib/read.bat @@ -2,7 +2,7 @@ setlocal setlocal ENABLEDELAYEDEXPANSION -if "%1"=="noechoback" ( +if "%~1"=="noechoback" ( call :read_s if ERRORLEVEL 1 exit /b 1 ) else (