Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: responding to prompts in a batch file  (Read 1881 times)

0 Members and 1 Guest are viewing this topic.

Ray Zee

  • Guest
responding to prompts in a batch file
« on: December 13, 2005, 04:07:33 PM »
I'm writing a MS-DOS batch file. In my file, I need to invoke a program that requires responding to prmpts. How do I sppply the answer to the prompts in the same batch file that invoked the porgram?

If I simply put the answers to prompts on each line, the program does not seem to see the responses.

I'm running on Winxows XP.

Thanks,
Ray

GX1_Man

  • Guest
Re: responding to prompts in a batch file
« Reply #1 on: December 13, 2005, 05:14:33 PM »
Why don't you post this in the DOS section ALTHOUGH like many there you will need to realize that Windows XP does not have MS-DOS, it has command prompt (not the same) and you may be better off with scripts.