Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting error while using spawn telnet ip

Status
Not open for further replies.

Udayakumar T

Programmer
Mar 27, 2023
2
IN
Using 32-bit tcl, Expect and telnet
C:\Windows\system32>tclsh
% package require Expect
5.43.2
% spawn telnet 192.168.1.1
% The system cannot find the file specified.
 
Is telnet installed on your windows ?
Because when i try to run telnet on my windows i get error:
[tt]'telnet' is not recognized as an internal or external command,
operable program or batch file.[/tt]
 
>>Is telnet installed on your windows ?
Yes. Telnet is installed.
Make sure to use 32-bit telnet as "Expect and Tcl" you won't get 64-bit.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top