in reply to checking internet connection

You should be able to scrape the contents of 'ipconfig /all', which should get a "media disconnected" message if your NIC gets unplugged.

The comments in the other thread you mentioned are good though - especially about using an HTTP request instead of ping or traceroute.

Replies are listed 'Best First'.
Re^2: checking internet connection
by Grygonos (Chaplain) on Feb 02, 2005 at 21:18 UTC

    you'll need to check the actual windows version being run to determine which command line utility to run (if you're looking to go that route and care about compatibility)