Re: key and subkey by PaulM
PaulM
Sun Jul 20 17:26:39 CDT 2008
This works in a vbscript:
Return=wshshell.Run ("reg delete HKCR\FirefoxHTML\shell\open\ddeexec"
,1,true)
But a cmd window comes up with yes/no prompt. I can not find a way to run it
without the prompt.
"PaulM" <paul@paulsxp.com> wrote in message
news:OWlpETr6IHA.4112@TK2MSFTNGP05.phx.gbl...
> Ok thanks
>
>
> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
> news:uuvsNlq6IHA.1196@TK2MSFTNGP05.phx.gbl...
>> Set WshShell = WScript.CreateObject("WScript.Shell")
>> Return = WshShell.Run("notepad c:\test.txt", 1, true)
>>
>> (taken almost verbatim from script56.chm, which I urge you to
>> download if you don't have it already).
>>
>>
>> "PaulM" <paul@paulsxp.com> wrote in message
>> news:ekyvoIq6IHA.1592@TK2MSFTNGP04.phx.gbl...
>>> example please.
>>>
>>>
>>> "Pegasus (MVP)" <I.can@fly.com.oz> wrote in message
>>> news:OmoX8mp6IHA.2056@TK2MSFTNGP04.phx.gbl...
>>>>
>>>> "PaulM" <paul@paulsxp.com> wrote in message
>>>> news:OFn14Lp6IHA.4468@TK2MSFTNGP02.phx.gbl...
>>>>> You can do it with a .reg file, but it does not tell the user what it
>>>>> is about to do. With a vbs file I have a menu come up and let the user
>>>>> know what it is about do do and why and whatever.
>>>>
>>>> There is no reason why you cannot have a mixed environment
>>>> (other than it being clumsy): Do the menu with the VB Script,
>>>> then invoke regedit.exe with the Run method.
>>>>
>>
>>