SetRegKey
Description
Adds a sub key to the registry.
Syntax
Setregkey,key,subkey
Parameters
key: The abbreviated major registry key where you want to create the subkey. 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 you want to create.
Example
Setregkey,LM,Software\MyApp
Notes
Attempting to create a key that already exists does not cause an error.
5-17