RE: [ILUG] [OT] Windows scripting, ala expect.

From: Guest, Ken (kengu at domain credo.ie)
Date: Mon 15 May 2000 - 15:08:29 IST


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 domain 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 domain linux.ie
#http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
#information.
#List maintainer: listmaster at domain linux.ie
#



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:09 GMT