Repository navigation
dos_regget
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Note, this function is deprecated. User either dos_reggetint or dos_reggetstr.
Retrieves a string value or a list of value names 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_regget key [name])
key
The registry key. If a name is not specified, a list containing the names of all values found in key are returned.
name
The name of the value to query.
If a name is not specified, then a list of value names is returned.
If a name is specified, then the value is returned.
nil on error.
Command: (dos_regget "HKEY_CURRENT_USER\\Software\\MyApp" "MyItem1")
"True"
Command: (dos_regget "HKEY_CURRENT_USER\\Software\\MyApp" "MyItem2")
"False"
Command: (dos_regget "HKEY_CURRENT_USER\\Software\\MyApp")
("MyItem1" "MyItem2" "MyItem3")