<< winopen | OS functions |
c = winqueryreg ('name', rootkey, subkey) |
v = winqueryreg (rootkey, subkey, value_name) |
v = winqueryreg (rootkey, subkey) |
a string: root key.
a string: subkey path.
a string: name of value.
a cell of strings.
a string or int32.
c = winqueryreg ('name', rootkey, subkey) returns a cell of strings with key names in rootkey\subkey.
v = winqueryreg (rootkey, subkey, value_name) returns the value associated to value_name in rootkey\subkey.
If the value is a 32-bit integer, winqueryreg returns the value as int32. If this value is a string, it is a string.
v = winqueryreg (rootkey, subkey) returns value in rootkey\subkey that has no value name property.
Supported root keys:
'HKEY_CLASSES_ROOT', 'HKCR',
'HKEY_CURRENT_USER', 'HKCU',
'HKEY_LOCAL_MACHINE', 'HKLM',
'HKEY_USERS', 'HKU',
'HKEY_CURRENT_CONFIG', 'HKCC'
winqueryreg('name', 'HKEY_LOCAL_MACHINE', 'HARDWARE\DESCRIPTION\System')
winqueryreg('HKLM', 'HARDWARE\DESCRIPTION\System\CentralProcessor\1\', 'ProcessorNameString')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET