I usually use ping like this:
 Quote:

shell "cmd.exe /c ping \\$Element -n 1 > hide.txt"
IF @ERROR = 0
(do this stuff)
ENDIF


but what happens is it hangs...it keeps trying..and I want it to try and if nothing witin x milliseconds give up and move on. How can I stop it from trying so much..you know ping just keeps trying even when I say ping 1x only. what do you think I can do to stop it from trying so much? maybe a TCP protocol revamp? ahhahaha


Edited by itdaddy (2009-08-07 05:34 PM)
_________________________
Robert
A+, CCNA, MCP
Network Admin
Credit Union Wisconsin