Created
November 13, 2014 11:20
-
-
Save JubbaSmail/d6abd9e005a99e04b1c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| ping 8.8.8.8 | find "time=" > NUL | |
| if ERRORLEVEL 1 ( | |
| echo No Internet connection. | |
| ) else ( | |
| echo Internet connection available. | |
| ) | |
| pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment