@echo off setlocal if "%1"=="noechoback" ( call :exprog ) else ( set /p LINE=CON ) set /p ="'%LINE%'"NUL 2>&1 :: Win <7 and