TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: David P. Cravshaw
from: mark lewis
date: 2003-11-11 22:29:38
subject: Toggle proxy setting in IE?

DPC> I just found this over on the MS news servers in
 DPC> microsoft.public.scripting.wsh:

 DPC> set shell = createobject("wscript.shell") key = _
 DPC>     "HKEY_CURRENT_USER\Software\" _
 DPC>   & "Microsoft\Windows\CurrentVersion\" _
 DPC>   & "Internet Settings\ProxyEnable"
 DPC> if MsgBox("Disable Proxy server?",vbYesNo) = vbYes then
 DPC>   shell.regwrite key,CLng(0), "REG_DWORD"
 DPC> else
 DPC>   shell.regwrite key,CLng(1), "REG_DWORD"
 DPC> end if

i know this is going to sound very newbie but...

what file extension goes with the above code?? .vbs gives an error... .wsh
says there's no script name specified... nothing i've found so far tells
what extension goes on the source files...

guess i know why i still do bat, btm and cmd files ;-)

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 633/267 270
@PATH: 3634/12 106/2000 396/45 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.