title: Couldn't execute Telnet when spawned through expect
body: <p>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</p>
  
  <p>spawn telnet xx.xx.xx.xx
  couldn't execute "telnet": no such file or directory
      while executing
  "spawn telnet [lindex $argv 0]"</p>
  
  <p>I am trying to run the script on windows 2008 server R2. </p>
  
  <p>I faced the same error even after executing the "spawn telnet" manually in the expect shell.</p>
  
  <p>What could be problem?</p>