0
点赞
收藏
分享

微信扫一扫

Windows下自动连接WiFi 脚本





前提是先连接到指定的WiFi网络上。

然后通过

netsh wlan export profile

将网络配置文件导出,然后使用如下命令添加配置文件到指定的网络接口上,再执行连接命令即可。


netsh wlan delete profile *
netsh wlan add profile filename="wf2000.xml" interface="Wireless Network Connection"
netsh wlan connect name=Profile
netsh wlan disconnect
pause

举报

相关推荐

0 条评论