@echo off
echo 设置wlan,ssid为热点名称,pass为密码
echo ssid:L-PC pass:00000000
netsh wlan set hostednetwork mode=allow ssid=L-PC key=00000000
echo start
netsh wlan start hostednetwork
echo succ!
pause
直接在cmd运行脚本即可
@echo off
echo 设置wlan,ssid为热点名称,pass为密码
echo ssid:L-PC pass:00000000
netsh wlan set hostednetwork mode=allow ssid=L-PC key=00000000
echo start
netsh wlan start hostednetwork
echo succ!
pause
直接在cmd运行脚本即可
转载于:https://my.oschina.net/xiwanglr/blog/528820