Hi,
I'm trying to use TCL to write some scripts to do automation on our test equipment by telnet. But I keep having problem on telnet. Not sure if it's because the compatibility issue since the PC we're using is still Windows 98.
The TCL version installed in PC is 8.0.5
My 1st attempt is to install expect 5.21. ( expect-5.21r1b1-setup.exe)
But after I tried spawn telnet, i got "c:\program files\expect-5.21\bin\slavedrv.exe did not connect to server pipe: No error.
Why???
My 2nd attempt is to install activetcl, I've tried version 8.4.15, 8.4.19, and 8.5.10, they all got the same results that c:\Windows\telnet.exe is not a Win32 console application.
I thought it might be windows98's telnet application issue. So I downloaded win32 telnet console application online. and tried
% spawn c:/telnet/telnet.exe 10.10.10.3
but I got "expect: spawn ip exp2 not open"
Can someone tell what should I do to make telnet work? I'm kinda exhausting on trying all the approaches.
Thank you!
I'm trying to use TCL to write some scripts to do automation on our test equipment by telnet. But I keep having problem on telnet. Not sure if it's because the compatibility issue since the PC we're using is still Windows 98.
The TCL version installed in PC is 8.0.5
My 1st attempt is to install expect 5.21. ( expect-5.21r1b1-setup.exe)
But after I tried spawn telnet, i got "c:\program files\expect-5.21\bin\slavedrv.exe did not connect to server pipe: No error.
Why???
My 2nd attempt is to install activetcl, I've tried version 8.4.15, 8.4.19, and 8.5.10, they all got the same results that c:\Windows\telnet.exe is not a Win32 console application.
I thought it might be windows98's telnet application issue. So I downloaded win32 telnet console application online. and tried
% spawn c:/telnet/telnet.exe 10.10.10.3
but I got "expect: spawn ip exp2 not open"
Can someone tell what should I do to make telnet work? I'm kinda exhausting on trying all the approaches.
Thank you!