Hi, I am running tcl on windows, Here is a part of my code;
spawn wget -t 1 --delete-after http://$url expect { timeout { puts $fresult "get $url: timeout\n" } "response... 200" { puts $fresult "get $url: successful\n" } "response... 404" { puts $fresult "get $url: 404 NotFound\n" } "Host not found" { puts $fresult "get $url: Host not found\n" } "No such file or dir" { puts $fresult "get $url: No such file or dir\n" } "\[cC]onnection closed" { puts $fresult "get $url: Blocked\n" } default { puts $fresult "get $url: Error\n" } } expect on running this, i get the following message. spawn wget -t 1 --delete-after http://http://localhost:80/index.html couldn't execute "wget": no such file or directory while executing "spawn wget -t 1 --delete-after http://$url" (file "C:\Program Files\Expect-5.21\bin\urlf_test.exp" line 33) child process exited abnormally Can someone tell what m i doing wrong here.(do i need to install wget or something?) Thanks and regards Anil.