ScottCandler
11-27-2000, 05:04 PM
I need to delete an individual registry value using a .reg file. I do not want to delete the entire key or use an .ini file. This method works for whole keys, but not a value...
Deleting keys or values using a REG file
It is also possible to delete keys and values using REG files. To delete a key start by using the same format as the the REG file above, but place a "-" symbol in front of the key name you want to delete. For example to delete the [HKEY_LOCAL_MACHINE\Software\RegEdit] key the reg file would look like this:
REGEDIT4
[-HKEY_LOCAL_MACHINE\Software\RegEdit]
The format used to delete individual values is similar, but instead of a minus sign in front of the whole key, place it after the equal sign of the value. For example, to delete the value "Window Title" the REG file would look like:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\RegEdit]
"Window Title"=-
Can you help me?
Deleting keys or values using a REG file
It is also possible to delete keys and values using REG files. To delete a key start by using the same format as the the REG file above, but place a "-" symbol in front of the key name you want to delete. For example to delete the [HKEY_LOCAL_MACHINE\Software\RegEdit] key the reg file would look like this:
REGEDIT4
[-HKEY_LOCAL_MACHINE\Software\RegEdit]
The format used to delete individual values is similar, but instead of a minus sign in front of the whole key, place it after the equal sign of the value. For example, to delete the value "Window Title" the REG file would look like:
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\RegEdit]
"Window Title"=-
Can you help me?