I am trying to spawn an telnet session through an expect script. But when I try to execute the script, I get the following error
spawn telnet xx.xx.xx.xx couldn't execute "telnet": no such file or directory while executing "spawn telnet [lindex $argv 0]"
I am trying to run the script on windows 2008 server R2.
I faced the same error even after executing the "spawn telnet" manually in the expect shell.
What could be problem?