window系统命令行设置proxy----Setting a proxy for Windows using the command-line

  设置代理, bypass-list的参数是不走代理地址:

netsh winhttp set proxy proxy-server="socks=localhost:9090" bypass-list="localhost"

  查看当前的代理:

netsh winhttp show proxy

  删除所有配置的代理,并直接连接网络

netsh winhttp reset proxy

猜你喜欢

转载自www.cnblogs.com/diligenceday/p/9346859.html