You could use VB to shell a telnet connection and have it use the 'SendKeys'
command
to login and start off the script. Not exactly at the same level as a
'expect' script
so it won't be able to know when the script it has started in the telnet
session is
over for it to log off though.
#-----Original Message-----
#From: Donncha O Caoimh [mailto:donncha.ocaoimh at tradesignals.com]
#Sent: 15 May 2000 14:59
#To: ILUG
#Subject: [ILUG] [OT] Windows scripting, ala expect.
#
#
#Slightly off-topic but bothersome nonetheless.
#I have some perl scripts on a Linux box that would benefit from being
#run by Windows users because they wouldn't need to bother me
#continuosly...
#Has anyone managed to script a telnet session in Windows? All I need is
#for a mouse click to open a telnet session to the remote box, login and
#run the script and exit again.
#
#It's out of the question putting Perl on those machines, they're only
#Win98 boxes after all!
#
#Donncha.
#
#--
#Irish Linux Users' Group: ilug at linux.ie
#http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
#information.
#List maintainer: listmaster at linux.ie
#
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!