Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Check if computer is online. Ping()?

$
0
0
I need to check if computers is online. I used to use ping for things like this:
[ autoit ]      
if ping($ComputerNamesList[$i]) <> 0 Then ... some code EndIf
But sometimes there is DNS error. I mean you want to ping computer A but you actually pinging computer B. That's because that computer was not shuted down properly. Sometimes you need to wait a few weeks before the wrong DNS record will be gone (or you just need to turn the computer off properly). But my question is how can I check if computers are online if there is DNS issue happens from time to time?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>