Re: Set empty default registry key value using regwrite ?
- From: "Pegasus [MVP]" <news@xxxxxxxxxxxxx>
- Date: Thu, 11 Jun 2009 15:27:06 +0200
Check the replies you received in the scripting.vbscript newsgroup, then
have a look at this link to see why crossposting is fine but multiposting
isn't: http://www.blakjak.demon.co.uk/mul_crss.htm
"Vilius Mockûnas" <v_mockunas@xxxxxxxxx> wrote in message
news:%23k7cdPn6JHA.4632@xxxxxxxxxxxxxxxxxxxxxxx
Hello,
RegWrite vbscript function is a bit tricky to me. For example I want to
create registry key:
dim obj1
set obj1 = CreateObject( "WScript.Shell" )
obj1.RegWrite( "HKCU\Software\somekey\", 1, "REG_SZ" )
So OK example above creates somekey key with default value 1, but my goal
here is to set default value to empty value, not 1. (emty value is
displayed
like "(value not set)" in regedit).
How do I set default key value to emty value using RegWrite ?
thanks
Vilius
.
- References:
- Set empty default registry key value using regwrite ?
- From: Vilius Mockûnas
- Set empty default registry key value using regwrite ?
- Prev by Date: Re: Set empty default registry key value using regwrite ?
- Next by Date: List all DC in AD-domain and version of its OS
- Previous by thread: Re: Set empty default registry key value using regwrite ?
- Next by thread: List all DC in AD-domain and version of its OS
- Index(es):
Relevant Pages
|