windows
番茄系统家园 · 2021-09-01 20:20:15
分配,共享虚拟网络的脚本(自己使用)
@
CLS
::使用命令对控制台输出颜色进行更改
==40
语句为设定窗体的宽和高
:sc_main
echo-------------------------------------------
echo.echo.
echo1.无线网络连接,IP自动获取IPecho.echo.
echo2.无线网络连接,IP配置为192.168.1.11echo.echo.
echo3.本地连接,IP自动获取IPecho.echo.
echow设置中虚拟WLAN并启动虚拟WLANSSID为linPC钥匙为lin12345678
echos启动虚拟WLAN成功SSID为linPC钥匙为lin12345678
echoq.退出echo.echo.echo.echo.echo.echo.
set"select="
set/pselect=输入数字,按回车继续:
if"%select%"=="1"(gotosc_ip1)
if"%select%"=="2"(gotosc_ip2)
if"%select%"=="3"(gotosc_ip3)
if"%select%"=="w"(gotosc_sc_wlan_config)
if"%select%"=="s"(gotosc_wlan_start)
if"%select%"=="Q"(gotosc_exit)
:sc_exit
exit
:sc_wlan_config
cls
echo正在设置中虚拟WLAN,请稍候
netshwlansethostednetworkmode=allowssid=linPCkey=lin12345678
netshwlanstarthostednetwork
echo设置成功SSID为linPC钥匙为lin12345678并已经启动虚拟WLAN
PAUSE
exit
免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/post/57130.html。猜你喜欢
最新应用
热门应用