:: TestInpt.bat - A demonstration of Win 95 batch procedure input. :: :: Tom Lavedas :: http://www.pressroom.com/~tglbatch/ @echo off if exist %temp%.\{i}.pif del %temp%.\{i}.pif :: Start ->| No text beyond here ->| set title=Type some input here ... :Get Input call input95 Data1 :: Start ->| No text beyond here ->| set title=ERROR - Input required ... for %%v in (%Data1%) do goto Okay echo.> %temp%.\{e}.txt echo ************************************>>%temp%.\{e}.txt echo * *>>%temp%.\{e}.txt echo * Text input is required *>>%temp%.\{e}.txt echo * *>>%temp%.\{e}.txt echo ************************************>>%temp%.\{e}.txt echo.>>%temp%.\{e}.txt echo. Press Alt-F4 to continue ...>>%temp%.\{e}.txt start /w notepad %temp%.\{e}.txt for %%v in (del goto:Get) do %%v %temp%.\{e}.txt :Okay :: Start ->| No text beyond here ->| set title=Enter more input here ... call input95 Data2 echo.Text Line 1: %Data1% echo.Text Line 2: %Data2% for %%v in (pause "prompt $e[m" echo cls) do %%v on