Can someone tell me how to use telnet in a batch file, and pass arguments to telnet from the batch file?
I need to write a batch file that will launch telnet, login, pass a couple of commands, and logout.
If it can’t be done in a .bat or .cmd, a pointer to the appropriate scripting language and examples would be appreciated.