bat脚本禁用和开启本地连接

netsh interface set interface name="本地连接" admin=disabled     //禁用本地连接
netsh interface set interface name="本地连接" admin=enabled     //启用本地连接
posted @ 2017-03-27 13:22  CooMark  阅读(2041)  评论(0)    收藏  举报