Open a telnet session with login using batch scriptby sago (Scribe)
|on Aug 14, 2008 at 05:17 UTC||Need Help??|
sago has asked for the
wisdom of the Perl Monks concerning the following question:
I want to open a telnet session with server name XYZ , port number XXXX, username YYYY and password ZZZZZ using batch script.
I executed the below commands in command prompt
open XYZ XXXX
login as YYYY and password as ZZZZZ
But when executed the same commands in batch script, only the telnet session opens,remaining things are not executed.
can anybody help me in this instance.I need to complete this batch script by today.