disable_cmd = 'netsh interface set interface 本地连接 2 disabled'
os.system(disable_cmd)
提示错误:
此名称的接口未与路由器一起注册。
怎样用自动代码关闭网络,而不需要获取管理员权限呢?
disable_cmd = 'netsh interface set interface 本地连接 2 disabled'
os.system(disable_cmd)
提示错误:
此名称的接口未与路由器一起注册。
怎样用自动代码关闭网络,而不需要获取管理员权限呢?
4 回答4.4k 阅读✓ 已解决
1 回答3.1k 阅读✓ 已解决
4 回答3.8k 阅读✓ 已解决
3 回答2.1k 阅读✓ 已解决
1 回答4.4k 阅读✓ 已解决
1 回答3.9k 阅读✓ 已解决
1 回答2.8k 阅读✓ 已解决
具體參考此文:https://blog.csdn.net/qq_1755...