RegSetValueΒΆ
RegSetValue sets a value for the key name.
-
bool = RegSetValue(ssKey, value)
Return Value
bool.
Parameters
-
ssKey
ssKey.
-
value
value.
Example
print RegConnect("HKEY_LOCAL_MACHINE");
print RegOpen("SYSTEM\\ControlSet001\\Control\\Session Manager\\Environment");
ssPath = RegGetValue("Path");
RegSetValue("Path", "%" + ssPath + ";" + GetRootDirectory() + "Program");
History
Version | Description |
---|---|
5.6.0 | If the string value contains 0x00 bytes, REG_BINARY is written. |
3.0.0 | New. |
See also
id-254850