dos命令 禁用网络链接
获取所有的网络链接接口:
C:\Users\Chris.JENNEY>netsh interface show interface
Admin State State Type Interface Name
-------------------------------------------------------------------------
Disabled Disconnected Dedicated Local Area Connection
Enabled Connected Dedicated Wireless Network Connection
Disabled Disconnected Dedicated Wireless Network Connection 2
打开指定网络链接
C:\Users\Chris.JENNEY>netsh interface set interface name="Local Area Connection"
admin=enabled
关闭指定网络链接
C:\Users\Chris.JENNEY>netsh interface set interface name="Local Area Connection"
admin=disabled
posted on 2015-05-29 17:34 jenney.qiu 阅读(697) 评论(0) 编辑 收藏 举报