Editing/Creating .reg files ?

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

I'm trying to write a .reg file to add/modify a key. I have a sample
of one that works but all of the keys for it have name/data values and
the key I want to add just has a default with a data value, no name.
I'm not sure how to code this. Here's the key I'm trying to add (or
replace if it exists):

[HKEY_CURRENT_USER\Software\Microsoft\WAB\WAB4\WAB File Name]

Usually you put a line like thisname="someDataValue" after that line
but in this case, there is no "thisname" to work with.

Thanks for any specific help or a pointer to some docs.
 
The following creates a key with a Reg_Sz string value that has no name.

----------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ZZZ]
@="qwerty"
----------------------------

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
Microsoft Certified Professional [Windows 2000]
http://www.microsoft.com/protect


:
| I'm trying to write a .reg file to add/modify a key. I have a sample
| of one that works but all of the keys for it have name/data values and
| the key I want to add just has a default with a data value, no name.
| I'm not sure how to code this. Here's the key I'm trying to add (or
| replace if it exists):
|
| [HKEY_CURRENT_USER\Software\Microsoft\WAB\WAB4\WAB File Name]
|
| Usually you put a line like thisname="someDataValue" after that line
| but in this case, there is no "thisname" to work with.
|
| Thanks for any specific help or a pointer to some docs.
|
|
 
Back
Top