getRegistryKeyValues: Contents of Registry Folder

getRegistryKeyValuesR Documentation

Contents of Registry Folder

Description

This retrieves all the key-value pairs in the specified registry folder.

Usage

getRegistryKeyValues(path = "", top = .BuiltinKeys[1])

Arguments

path

the path as a character vector of sequential elements or a single string with the successive keys separate by \\, or an actual Path object.

top

the top-level key in the registry as the start of the pth

Value

A named list containing the key-value pairs of the elements in that node of the registry. The names of the list are the keys. The elements in the list are the corresponding values in the registry converted to their S equivalents. The rule for mapping these types to S is:

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://www.omegahat.org/SWinRegistry

See Also

getRegistrySubKeyNames

.resolveToplevelRegistryKey

Examples

 getRegistryKeyValues("HKEY_CURRENT_USER\\Environment")
 getRegistryKeyValues(c("HKEY_CURRENT_USER", "Environment"))
 getRegistryKeyValues("Environment", top = "HKEY_CURRENT_USER")
 getRegistryKeyValues("Environment", top = "HKEY_CURRENT_USER")


 names(getRegistryKeyValues("HKEY_CURRENT_USER\\Control Panel\\Colors"))
 names(getRegistryKeyValues(c("HKEY_CURRENT_USER", "Control Panel", "Colors")))
 names(getRegistryKeyValues(c("Control Panel", "Colors"), top = "HKEY_CURRENT_USER"))
 names(getRegistryKeyValues("Control Panel\\Colors", top = "HKEY_CURRENT_USER"))

omegahat/SWinRegistry documentation built on July 17, 2022, 7:26 p.m.