Skip to content

Instantly share code, notes, and snippets.

@Manuel-S
Last active December 18, 2015 14:50
Show Gist options
  • Save Manuel-S/5a30a0090be90e46c813 to your computer and use it in GitHub Desktop.
Save Manuel-S/5a30a0090be90e46c813 to your computer and use it in GitHub Desktop.
@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