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

Author Topic:  (Read 7620 times)

0 Members and 1 Guest are viewing this topic.

  • Guest
(No subject)
« on: December 31, 1969, 05:00:00 PM »

  • Guest
Need Help with DOS batch file ..
« Reply #1 on: December 31, 1969, 05:00:00 PM »

arul20

  • Guest
(No subject)
« Reply #2 on: May 16, 2005, 10:46:54 AM »
Hi I am writing a batch file to automatically run some commands by telnetting to a network device. Everything goes fine until the device asks for input from the user.

E.g "Press any key to continue .. "
     Or
   "Press enter to continue .. "

etc

The program then waits for the user input.

So I am forced to manually press the keyboard in order for the batch file to continue.

What I want to know is:

How do I simulate the "Enter" key press in my batch program?


P.S: I did googling today on this subject but they all recommend using the "CON" command with fc command. I am running windows 2000 and my DOS does not support the "CON" command.


Thanks for all the help in advance.