Re: Add a registry key by Ruskin
Ruskin
Mon Jul 19 16:57:04 CDT 2004
Ooopssss... sorry, it's not regsvr32 (that's for registering objects), it's
actually regedit.exe, but not sure if you can pass a parameter to prevent it
from prompting you to add the registry key...
"Ruskin" <ruhardie@nospam.xtra.com> wrote in message
news:yqXKc.2290$N77.203297@news.xtra.co.nz...
> vbscript doesn't support api calls (or at least, not easily), so using the
> RegCreateKey, RegOpenKey, etc.. functions wont work... What you could try
> doing, is creating a 'reg' file and then shelling to it. If you want to
> supress the prompts, you will need to run regsvr32 directly (without
> shelling to the reg file), so that you can use the /s switch. EG:
>
> regsvr32 /s myfile.reg
>
>
>
> "John Villarreal" <john.villarreal@wrigley.com> wrote in message
> news:e$xjdUdbEHA.808@tk2msftngp13.phx.gbl...
> > Hello all:
> >
> > I need to add an entry to the following:
> >
> > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
> > Settings\zonemap\Domains\
> >
> > like webex.com
> >
> > any suggestions?
> >
> >
> >
> >
> >
>
>