禁用/启用本地连接的dos命令是什么啊?
运行如下命令:
netsh interface show interface
将显示类似下面的画面:
Admin State State Type Interface Name
-------------------------------------------------------------------------
Enabled Unreachable Dedicated Local Area Connection 2
Enabled Unreachable Dedicated Local Area Connection
Enabled Unreachable Internal Internal
Enabled Unreachable Loopback Loopback
运行如下命令禁用名称为"Local Area Connection"的网卡:
netsh interface set interface name="Local Area Connection" admin=DISABLED
把结尾的"DISABLED"改为"ENABLED"为开启指定的网卡.
记录Coding学习过程中的点点滴滴,记性不好,特别需要这么一个博客 逸'Coding'Blog