AfxRegReadfunction
Returns the value of a key or value-name from the registry.
Syntax
FUNCTION AfxRegRead (BYREF wszKey AS WSTRING) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
wszKey | The registry key name. |
Description
Returns the value of a key or value-name from the registry.
Example
print AfxRegRead("HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString") print AfxRegRead("HKLM\HARDWARE\DESCRIPTION\System\CentralProcessor\0\~Mhz")
Reference
- Defined in AfxNova/AfxWsh.inc:41
- Documented in Windows/Windows Script/Windows Shell.md
- Topic: Windows Shell