<< back to sysax.com Product page

15.4. Reading windows registry values

The readwinregistry command can be used to get the windows registry value corresponding to parameters (registry key, registry subkey, registry entry name) of the command.

Exhibit 15.7. Syntax of command for Reading windows registry values

readwinregistry <registry key><registry subkey><registry entry name><user variable>;

An example is

Exhibit 15.8. Example for using the command for Reading windows registry values

readwinregistry "HKEY_LOCAL_MACHINE", "SOFTWARE\Microsoft\DirectX", "Version", ~dxversion; #get the windows registry value corresponding to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX\Version