Hello All!
I was wondering the simplest way to test for an internet connection? I have a Winbatch routine that sends emails, but I want to test first to see that the connection is working.
Thanks!
Mike
Simple is a subjective term but one way is to attempt to do something in a script that requires an internet connection. For example, you could execute a ping command via any of the methods available to WinBatch scripts.
Quote from: mjwillyone on September 16, 2021, 04:36:46 AM
Hello All!
I was wondering the simplest way to test for an internet connection? I have a Winbatch routine that sends emails, but I want to test first to see that the connection is working.
Thanks!
Mike
Makes one think you have inherited scripts from a former user, probably written a while ago,,, and need assistance with mods....best you could place in some code so the fix would be less philosophical.....