Creates a key in the Windows registry
(vl-registry-write reg-key [val-name val-data])
If val-name is not supplied or is nil,a default value for the key is written. If val-name is supplied and val-data is not specified, an empty string is stored.
vl-registry-write returns val-data, if successful; otherwise nil.
_$ (vl-registry-write "HKEY_CURRENT_USER\\Test" "" "test data")
"test data"
_$ (vl-registry-read "HKEY_CURRENT_USER\\Test")
"test data"
See Also
-
The vl-registry-delete, vl-registry-descendents, and vl-registry-read functions.