Windows下自动连接WiFi 脚本
前提是netsh wlan delete profile *netsh wlan add profile filename="wf2000.xml" interface="Wireless Network Connection"netsh wlan connect name=Profilenetsh wlan disconnectpause
·
前提是先连接到指定的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)