Last active
December 18, 2015 14:50
-
-
Save Manuel-S/5a30a0090be90e46c813 to your computer and use it in GitHub Desktop.
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 off | |
:start | |
cls | |
set ssid= | |
set pw= | |
cls | |
SET/P username=Please enter the network ssid: | |
cls | |
SET/P pw=Please enter the pin (at least 8 chars): | |
cls | |
netsh wlan set hostednetwork mode=allow ssid="%ssid%" key="%pw%" | |
ping -n 3 127.0.0.1 > NUL | |
netsh wlan start hostednetwork | |
echo access point set up: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment