Can I spawn telnet in Win 7 64-bit machine using Expect?
Or is it possible to spawn any 'win32 console application' using '32bit Active Tcl with Expect' in '64-bit machines'?
Kindly let me know.
You would need to install the 32-bit version of ActiveTcl and then install Expect via teacup. However, it can only control other 32-bit applications due to the injector library for control being 32-bit.
I have installed activetcl 32-bit and copied over telnet.exe from a 32bit windows xp machine.
I have disabled DEP for the telnet.exe i copied over and still cannot spawn the telnet client?
Can you please be more specific as what changes are needed to make this work?
Using telnet in Win7 64 machine was unsuccessful.
Some how 32bit console app like telnet does not seem to be supported by 64bit machines while spawning.
So I used an alternative -
Used Windows XP mode from Windows Virtual PC that is available in Win7.
Invoked my programs from this Win XP virtual mode. And telnet/Tcl/Expect/Wish84 worked.
Also use the following as first line in your code.
package require Expect
| Contact Us
© 2012 ActiveState Software Inc. All rights reserved.
ActiveState®, Komodo®, ActivePerl®, ActivePython®, ActiveTcl®,
and Stackato® are registered trademarks of ActiveState.
All other marks are property of their respective owners.