TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: mark.lewis
from: Ellen K.
date: 2003-11-15 20:38:10
subject: Re: Toggle proxy setting in IE?

From: Ellen K. 

It sure looks like VBScript to me.

On 12 Nov 2003 03:29:38 GMT,
"Mark.Lewis" wrote in message
:

> 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
>

--- BBBS/NT v4.01 Flag-5
> * Origin: (1:3634/12)
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270
@PATH: 379/45 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™.