PDA

View Full Version : Keystrokes in a batch file?


copeland3300
07-28-2005, 03:34 PM
Hey all. Is there a way that you can program keystrokes into a batch file?


Thanks

Phoenix86
07-28-2005, 04:17 PM
Yes (command prompt) and no (GUI).

What are you trying to do?

copeland3300
07-29-2005, 09:06 AM
I'm trying to telnet into a router and then, based on the menu, have the batch file select specific choices to reboot the router.

Phoenix86
07-29-2005, 09:52 AM
I would do some searching for telnet scripts. I know that can be automated, not sure if a batch file will do, out of my area of experience.

Bump.

spectrum
07-29-2005, 12:10 PM
You might be able to pull it off from a batch file but it would be MUCH easier in PERL using NET::TELNET