1. 程式人生 > >window系統命令列設定proxy----Setting a proxy for Windows using the command-line

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