PDA

View Full Version : Batch File Assistance - Proxy servers and Firexox


osaddict
25 Jul 2007, 12:30pm
OK, so I have a batch file, I think someone from here helped with (Thrax perhaps?! :smiles: )

To disable:
regedit /s disable_proxy.reg
ipconfig /release
ipconfig /renew

where disable_proxy.reg is:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyEnable"=dword:00000000
"ProxyServer"=""



Now - for Internet Explorer, this seems to work a treat - working with proxy, close IE, run batch file, open IE - its broken (as it should be) close IE, run the opposite batch file, open IE and it works again...

Firefox however, it seems doesnt change! - I'm sure when I used this a few weeks ago it did indeed change firefox, alas now it seems not to!

Any ideas?!

osaddict
25 Jul 2007, 12:39pm
I've found this page: http://www.perlmonks.org/?node_id=537686

Which gives me some clues, but the one the guy uses just for IE looks way OTT compared to the one I have (which works)... the combined one looks pretty hairy to me!