How do I change Firefox Proxy settings via command line on windows xp/2k?
Thanks
All the other answers here explain how to program your proxy settings into Firefox which is what WPAD was invented to do. If you have WPAD configured then just tell Firefox to use it to auto-detect its settings, as you would in the GUI.
To do this from a cmd file or command line:
pushd "%APPDATA%\Mozilla\Firefox\Profiles\*.default"
echo user_pref("network.proxy.type", 4);>>prefs.js
popd
This of course requires you to have WPAD configured and working correctly. Also I believe prefs.js
won't exist until you've run Firefox once.