vl-registry-read

(vl-registry-read key [entry] )

The vl-registry-read function returns the value assigned by the specified entry of subkeys or entries of the specified key from the OS registry (Windows® version only).

Arguments

key specifies a registry key (as text string).

entry specifies the name of a registry entry (as text string).

Return Value

The function returns a string containing registry data.

It returns nil, if the reading of registry data did not succeed.

Examples

: (vl-registry-read "HKEY_CURRENT_USER\\DummyKey")

nil

: (vl-registry-read "HKEY_CURRENT_USER\\TestKey" "myentry")

"test data"

Related Functions

vl-registry-delete, vl-registry-descendents, vl-registry-write