Repository navigation
dos_regenumkeys
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Enumerates the subkeys in a specified key in the Windows Registry.
WARNING: Using registry functions incorrectly can cause serious problems that may require you to reinstall your operating system. Use the registry functions carefully.
(dos_regenumkey hive key)
hive
The registry hive. Valid values include:
| Hive |
|---|
| HKEY_CURRENT_USER |
| HKEY_LOCAL_MACHINE |
| HKEY_USERS |
| HKEY_CURRENT_CONFIG |
| HKEY_CLASSES_ROOT |
| HKEY_PERFORMANCE_DATA |
| HKEY_DYN_DATA |
key
The registry key to enumerate.
A list of subkeys if successful.
nil on error.
(dos_regenumkeys "HKEY_CURRENT_USER" "")
("AppEvents" "Console" "Control Panel" "Environment" "Identities" "Keyboard Layout" "Network" "Printers" "Software" "SYSTEM" "UNICODE Program Groups" "Windows 3.1 Migration Status" "SessionInformation" "Volatile Environment")
Command: (dos_regenumkeys "HKEY_CURRENT_USER" "Software\\Autodesk")
("ACPROJECT" "AutoCAD" "Autodesk Digital Signatures" "DWFWriter" "Express Viewer" "FTPConnect" "ObjectARX AppWizard" "ObjectDBX")
Command: (dos_regenumkeys "HKEY_CURRENT_USER" "Software\\Autodesk\\AutoCAD")
("R16.2" "R17.0")