Repository navigation
dos_reggetint
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Retrieves an integer value, or REG_DWORD, from 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_reggetint hive key name)
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.
name
The name of the value to query.
The integer value if successful.
nil on error.
Command: (dos_reggetint "HKEY_CURRENT_USER" "Software\\Autodesk\\AutoCAD\\R16.2\\ACAD-4001:409" "AutoMigrate")
2