Инструменты пользователя

Инструменты сайта



RegRead [/HEX] [/I:xxx] <var> <key> [<param> [<default>]]

Read the registry value. Supported types: REG_DWORD, REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_BINARY (return hex-string). If you need to retieve default paramter, don't set parameter, or set it to empty in case you need to use default text.


varName of the variable that will receive the value.
keyRegistry key name. Can begins with full hive name (for example, HKEY_USERS), or with short (for example, HKU).
paramParameter name. For retrieve «default» parameter, not set this or use empty value if you need default text.
defaultText that will be written to the variable, if registry reading error occured. If omitted, empty value will be written.


/HEXReturn REG_DWORD parameter as hex-string, else as decimal.
/I:xxxString index (starting with 1) for REG_MULTI_SZ parameters. If not set, whole string return? separated by linebreaks.
en/documentation/regread.txt · Последнее изменение: 2013/02/06 13:28 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki