Click to See Complete Forum and Search --> : set batch file default input


geminiwraith
December 19th, 2000, 08:33 PM
HELP!!!

I need to make a batch file default every y/n input required by a command used to "y".

Any ideas?????????

Thanx

Mulder
December 19th, 2000, 11:02 PM
Need to be more specific but could try...

echo Y|program > nul

or

program < y.txt

(need to create the input file y.txt)

Some command line programs also accept the /Y option as well.