Checking the value of @error does not help.

I tried $rc=WshPipe("telnet SOME I.P. 80")

For both the open, closed ports, it displayed -->
0 | The operation completed successfully.

I also checked all the commands of telnet. Its not possible to redirect its output.

I just want to write a script that will automate the telnet process. i.e. i will take the list of I.P. from a file and using the script telnet to all these I.P. If the port is NOT open then I will get an error 'Could not open connection to the host'. This error will be recorded using kixtart (somehow, but unfortunately I dont know & thats what I am asking)
Is it possible using Kixtart. Please help.


Edited by Ziangi_Jones (2005-08-12 11:09 AM)