getRegistrySubKeyNames: Names of sub-keys in Windows Registry Folder

getRegistrySubKeyNamesR Documentation

Names of sub-keys in Windows Registry Folder

Description

This gets the names of the sub-keys, i.e. the folders within a registry key. It does not return the names of the value entries within the key.

Usage

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

Arguments

path

identifier for the key of interest

top

the top-level key in the registry in which to resolve the path. This effectively identifies the branch in the registry tree.

Value

A character vector giving the names of the subkeys within this key that are themselves keys, and not simply values.

Author(s)

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

References

http://www.omegahat.org/SWinRegistry

See Also

getRegistryKeyValues

.resolveToplevelRegistryKey

Examples

  # Names of all the applications registered in HKEY_LOCAL_MACHINE\SOFTWARE.
 getRegistrySubKeyNames("SOFTWARE", top = "HKEY_LOCAL_MACHINE")

  # Find all class UUIDs for the COM definitions in HKEY_CLASSES_ROOT\CLSID
 getRegistrySubKeyNames("CLSID")

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