Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
When I try to ping a hostname that can not be resolved, I get the 3 code. If I ping an IP that does not exist, it simply times out.
3 (ERROR_PATH_NOT_FOUND) The system cannot find the path specified.For a list of Windows system errors see: Windows System errors
Sounds like you might need to have the script check for that possible error condition...
Article ID: W15839
File Created: 2017:07:28:13:58:30
Last Updated: 2014:07:18:09:49:24