http://qs1969.pair.com?node_id=381126


in reply to Attempting to open and pass info to MS Telnet

Have a look at the Win32::GuiTest module. You should be able to start telnet in a new console (system('start telnet');) and then send some keypresses to the console.

You can install the module using PPM:

c:\> ppm install Win32::GuiTest

HTH, Jenda
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
   -- Rick Osborne