(btw: if you just want to know if the internet access is on or off on ahk, you could use the URLDownloadToFile command, and check what was it's errorlevel. In case the page couldn't be downloaded, the errorlevel will be different from 0.)-jgpaiva (April 25, 2006, 01:47 PM)
Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS] [-r count] [-s count] [[-j host-list] | [-k host-list]] [-w timeout] target_nameOptions: -t Ping the specified host until stopped. To see statistics and continue - type Control-Break; To stop - type Control-C. -a Resolve addresses to hostnames. -n count Number of echo requests to send. -l size Send buffer size. -f Set Don't Fragment flag in packet. -i TTL Time To Live. -v TOS Type Of Service. -r count Record route for count hops. -s count Timestamp for count hops. -j host-list Loose source route along host-list. -k host-list Strict source route along host-list. -w timeout Timeout in milliseconds to wait for each reply.
What about the ping command that comes with Windows?-Cavalcader (April 25, 2006, 07:29 PM)
Then I'd need to store the output and check it. I think it's just easier to use jgpaiva's idea.-brotherS (April 26, 2006, 01:48 AM)
Page created in 0.021 seconds with 36 queries.