1. 程式人生 > 實用技巧 >【在win7筆記本上啟用wifi熱點】win7_wlan.bat

【在win7筆記本上啟用wifi熱點】win7_wlan.bat

【資料收集】在win7筆記本上啟用wifi熱點

操作方式請參考附件:在win7筆記本上建立wifi熱點


指令碼:win7_wlan.bat

@echooff
color2f
titleWindows7WLAN

:menu
echo.
echo選單:
echo1.設定
echo2.開啟
echo3.關閉
echo9.選單。
echo0.退出。
echo.
echo注:請輸入選單對應的數字,直接退出請按回車;
echo________________________________________________
echo.
gotostart

:start
echo.
setchoice=
set/pchoice=請輸入:
if/i"%choice%"==""gotowarn
if/i%choice%==1gotoset
if/i%choice%==2gotoopen
if/i%choice%==3gotoclose
if/i%choice%==9gotomenu
if/i%choice%==0gotoend

:warn
echo無效選單,請重新選擇!&gotostart

:set
netshwlansethostednetworkmode=allowssid="pcwlan"key="12345678"
gotostart

:open
netshwlanstarthostednetwork
gotostart

:close
netshwlanstophostednetwork
gotostart

:end
exit
@echoon

wKiom1Sbz17jRIqwAA8iuPp56Yw195.jpg

轉載於:https://blog.51cto.com/nosmoking/1596000