Created
April 29, 2015 14:42
-
-
Save bazzooka/3051900a5b002bb20d21 to your computer and use it in GitHub Desktop.
Script wait for wifi
This file contains 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 on | |
:waitloop | |
echo Waiting for wireless.... | |
Ping 127.0.0.1 -n 2 > nul | |
ipconfig |find /i "192.168.0.1" >nul | |
if errorlevel 1 goto waitloop | |
:connected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment