**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
sIP = "123.45.67.89"
sPortNo = "123"
sUserID= "username"
sPassword = InputBox("Password")
With CreateObject("Wscript.Shell")
.Run "%comspec% /k title Telnet & telnet " '& sIP & " " & sPortNo,
1, false
While not .AppActivate("Telnet") : Wscript.Sleep 100 : Wend
.SendKeys sUserID & "{Enter}"
.SendKeys sPassword & "{Enter}"
End With
This approach will NOT work with Win 95/98/ME and there is no good way
to get any information back from the telnet session using the Windows
telnet client. I once worked out a kludge using the system clipboard
for use with 95/98/ME, but I can't recommend it.
I have seen references to 'scriptable' telnet clients out there, but I
don't have a reference.
Tom Lavedas
===========
Catalin Cernahoschi (catalin.c...@bcr.ro) wrote in message news:<OHDu2dZtCHA.2484@TK2MSFTNGP10>...
No problem; I do. :-)
http://sourceforge.net/projects/telscript
I haven't played with it but IIRC Alex K was messing about a bit with it -
are you around today Alex? I can't vouch for how well or how badly it
performs.