Although the
Registry Editor lets you create multistring values, it??™s impossible to
type null characters (character #0 in the ASCII character set) from
the keyboard. The only way to place a null character into a Registry
value is either through a programming environment (see Chapter 9)
or via cut-and-paste from another application.
??? Expandable string values contain special variables, into which Windows
substitutes information before delivering to the owning application.
For example, an expandable string value intended to point
to a sound file may contain %SystemRoot%\Media\doh.wav. When
Windows reads this value from the Registry, it substitutes the full
Windows path for the variable, %SystemRoot%; the resulting data then
becomes (depending on where Windows is installed) c:\Windows\
Media\doh.wav. This way, the value data is correct regardless of the
location of the Windows folder.
If you were to type data intended for an expandable string
value into an ordinary string value, the variables wouldn??™t
necessarily be expanded when read by an application.
Binary values
Similar to string values, binary values hold strings of characters. The difference
is the way the data is viewed and edited. Instead of a standard
text box, binary data is entered with hexadecimal codes in an interface
commonly known as a hex editor. Each individual character is specified
by a two-digit number in base-16 (e.g., 6E is 110 in good-ol??™ base 10),
which allows characters not found on the keyboard to be entered.
Pages:
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145