readline-sync/lib/read.bat
2014-07-12 07:37:25 +09:00

11 lines
158 B
Batchfile

@echo off
setlocal
if "%1"=="noechoback" (
set /p LINE=<CON >NUL
echo; >CON
) else (
set /p LINE=<CON >CON
)
set /p DUM="%LINE%"<NUL
endlocal
exit /b 0