
Applications Compatibility Scripts for Windows NT Server, Terminal
Server Edition
• This syntax means that you can't create a value with leading or trailing
spaces, an equal sign or an at-sign in the value name, unless you put the
name in quotes.
• Valid value types and format of data that follows are:
REG_SZ text
REG_EXPAND_SZ text
REG_MULTI_SZ "string1" "string2" ...
REG_DATE mm/dd/yyyy HH:MM DayOfWeek
REG_DWORD numberDWORD
REG_BINARY numberOfBytes numberDWORD(s)...
REG_NONE (same format as REG_BINARY)
REG_RESOURCE_LIST (same format as REG_BINARY)
REG_RESOURCE_REQUIREMENTS (same format as REG_BINARY)
REG_RESOURCE_REQUIREMENTS_LIST (same format as
REG_BINARY)
REG_FULL_RESOURCE_DESCRIPTOR (same format as
REG_BINARY)
REG_MULTISZ_FILE fileName
REG_BINARYFILE fileName
• If no value type is specified, default is REG_SZ
• For REG_SZ and REG_EXPAND_SZ, if you want leading or trailing spaces
in the value text, surround the text with quotes. The value text can contain
any number of imbedded quotes, and REGINI will ignore them, as it only
looks at the first and last character for quote characters.
• For REG_BINARY, the value data consists of one or more numbers The
default base for numbers is decimal. Hexadecimal may be specified by
using 0x prefix. The first number is the number of data bytes, excluding the
first number. After the first number must come enough numbers to fill the
value. Each number represents one DWORD or 4 bytes. So if the first
number was 0x5 you would need two more numbers after that to fill the 5
bytes. The high order 3 bytes of the second DWORD would be ignored.
Comentarios a estos manuales