vl-registry-read
 
 
 

Returns data stored in the Windows registry for the specified key/value pair

(vl-registry-read reg-key [val-name])

Arguments

reg-key

A string specifying a Windows registry key.

val-name

A string containing the value of a registry entry.

If val-name is supplied and is not nil, the specified value will be read from the registry. If val-name is absent or nil,the function reads the specified key and all of its values.

Return Values

A string containing registry data, if successful; otherwise nil.

Examples

_$  (vl-registry-read
"HKEY_CURRENT_USER\\Test")
nil
_$ (vl-registry-write "HKEY_CURRENT_USER\\Test"
"" "test data")
"test data"
_$  (vl-registry-read
"HKEY_CURRENT_USER\\Test")
"test data"
See Also