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

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


en:autorun:documentation:regwrite

RegWrite

RegWrite <key> <param> <type> <value> [<value2 .. valueN>]

Write the registry value. Supported types: REG_DWORD, REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_BINARY.

Parameters

keyRegistry key name. Can begins with full hive name (for example, HKEY_USERS), or with short (for example, HKU).
paramParameter name. For writing “default” parameter, use empty value.
typeType of the value. Can be either REG_DWORD, REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_BINARY.
valueValue. If using REG_MULTI_SZ multiple values can be used.

Remarks

When writing with REG_BINARY type, value should be hex-string. In case of write error the ERROR macro will be set to 1.

en/autorun/documentation/regwrite.txt · Последнее изменение: 2022/09/26 13:04 — loopback

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki