PK
Fri Feb 24 09:16:26 CST 2006
Hi Bob - thanks for your input.
Unfortunately, I can NOT use any aftermarket software whatsoever.
I am not really concerned with security, and as i mentioned, the sendkey is
not reliable. I feel like i am getting pretty close - please see my other
post about an error i am getting:
http://msdn.microsoft.com/newsgroups/default.aspx?&guid=&sloc=en-us&dg=microsoft.public.scripting.vbscript&p=1&tid=27662c24-3d1d-4e75-ba03-2d4a31cec1db
"bob" wrote:
> On Thu, 23 Feb 2006 08:10:27 -0800, PK wrote:
>
> > Please Help!
> >
> > I need to automate TELNET to:
> > 1) set a logfile
> > 2) connect to an IP address
> > 3) perform commands
> > 4) logoff
> >
> > I can do this manually by entering the following from a command prompt:
> > Telnet
> > (the telnet session starts)
> > set logfile MyLog.txt
> > o 10.101.91.16
> > <<<perform commands>>>
> > quit
> >
> > PLEASE help me automate this using VBScript. I would prefer to NOT use
> > Sendkeys....
> >
> > Thanks in advance!
>
> It may not be what you are looking for so I apologize ahead of time. I
> also looked for a vbscript way to telnet. I did not find one. I used
> either
> perls net:telnet or pythons telnetlib to do this. net:telnet:cisco for
> cisco devices
>
>
>