CreateRegistryKey Method (SystemFunctions)

Action

Creates a new key in the registry. Recursively creates any missing registry keys in the given keyPath.

Syntax

bSuccess = CreateRegistryKey (rcCategory, sKeypath, sKeyname, sDefaultValue)
Variable Description
bSuccess True if the key was successfully created, false otherwise. Boolean.
rcCategory The root key for the registry. RegistryCategory.
sKeypath The path to the registry key. String.
sKeyname The name of the registry key. String.
sDefaultValue The default value of the registry key. String.