DelRegData
Description
Deletes a specified registry data field.
Syntax
Delregdata,key,subkey,field
Parameters
key: The abbreviated major registry key where you want to delete a field. Can be one of:
l cr or hkcr (HKEY_CLASSES_ROOT)
l cu or hkcu (HKEY_CURRENT_USER)
l lm or hklm (HKEY_LOCAL_MACHINE).
The case of key doesn’t matter
subkey: The subkey that holds the field you want to delete.
field: The field that you want to delete.
Example
delregdata,LM,Software\WidgetsPlc\OurApp,AppName
Notes
An error isn’t displayed if you specify a non-existent field, but is displayed if you specify a non-existent key or subkey.
5-7