In Windows 7, Is it possible to define/change the proxy config from the command line?
So, using the GUI, I would go:
Start → Control Panel → Network and Internet → Internet Options → Connections → LAN Settings
- enable/disable the proxy;
- define IP:port of proxy server.
But I would like to rather do this from the command line (so that I can run the command from a batch-file with a shortcut key — enabling me to switch proxy configs using a short-cut, rather than having to wade through the MS wizard).
I've looked at using
netsh.exe to change the settings for WinHTTP, but this seems to be thr wrong thing to do, as the WinHTTP setting do not appear to be related to the LAN settings.