:: Input.bat - A routine to automate text input into a running :: batch procedure under Win 95. :: Tom Lavedas :: http://www.pressroom.com/~tglbatch/ @echo off if not exist %temp%.\{i}.pif goto Start set {i}=%1 :Loop if not [%2]==[] for %%v in (set shift goto:Loop) do %%v {i}=%{i}% %2 echo set %%1=%{i}%>%temp%.\{input}.bat for %%v in (cls exit) do %%v :Start if [%1]==[] %0 Input if [%Title%==[ set Title=Data Input ... copy C:\BATCH\Input.pif %temp%.\{i}.pif > nul start /w /m %temp%.\{i}.pif call %temp%.\{input}.bat %1 for %%v in ({i}.pif {input}.bat) do del %temp%.\%%v ::