But, I believe this is going to be difficult and non-portable, at best.
The reason is that ping uses ICMP directly, and (this is from memory so it could be wrong), Windows provides no documented API for sending ICMP packets. The APIs you need do exist, but can (and probably do) change between major Windows releases.
Also, you may (read 'probably will') not have access to that from VBScript.
That said, I haven't followed the link by the other poster, so maybe you can do it. However, you should be cautious depending on how it works. |