如何关机时禁用本地连接
来源:百度知道 编辑:UC知道 时间:2024/05/07 00:56:35
关机时想
试试netsh指令
禁用:
net -c interface set interface "你的网卡名(比如本地连接1)" disabled disconnected "你的网卡名(比如本地连接1)"
启用:
net -c interface set interface "你的网卡名(比如本地连接2)" enabled connected "你的网卡名(比如本地连接2)"
具体你可以查看:netsh /?