WriteRegistryKey -- write a key to the registry (V4.5)
WriteRegistryKey(base, key$, value)
Microsoft Windows only

This function can be used to write a key to the Windows registry. You have to specify the base tree, the key, and the value which shall be written in the specified key. If the specified key does not exist, it will be created by this function. The base tree can be one of the following constants:


The value for the key can be a either number or a string. You can also write binary data to the registry by passing a string. Hollywood strings are capable of holding arbitrary binary data because they allow NULL characters in them. Under normal circumstances, however, writing numbers or normal strings to the registry should be sufficient.

one of the base tree constants from above
the registry key to create/modify
value to set the key to; can be either a number or a string

Show TOC