Re: VBScript to set IE proxies by Brett
Brett
Thu Dec 30 17:59:57 CST 2004
I found that:
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite
"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings\ProxyEnable", 1,"REG_DWORD"
will set it to enable the proxy, but how do you specify I want the HTTP
proxy to be www.proxy.com:8080, FTP to be www.proxy.com:8080, and secure to
be www.proxy.com:8080 as well?
Thanks.
"Brett Baisley" <baisley@hot mail . com> wrote in message
news:Oydf3js7EHA.1260@TK2MSFTNGP12.phx.gbl...
> Hi,
>
> I have a question that I have no idea where to even begin researching. I
> want to write a vbscript, 2 of them actually. One script should set up a
> hardcoded set of proxies for IE to use and the other should clear all
> proxy lists that IE uses.
>
> I'm sure its a rather simple thing to do, but I don't know where WinXP
> stores this information. I assume it is an registry setting.
>
> Thanks, Brett
>