This is an attempt to make a tool that checks network connectivity. It's a batch file that should work on all windows versions and all languages.