Specifically, a folder path like C:\
Program Files may be occasionally represented in its short 8.3 form:
C:\PROGRA~1.
Why, even Microsoft still uses short filenames; a fresh installation of Office
2007 (introduced alongside Windows Vista) placed a reference in the Registry
to C:\PROGRA~1\MICROS~2\Office12\1033\ACCESS12.ACC.
Unfortunately, this means you need to search for both the long and
short versions of a file or folder name if you want to find them all. For
example, say you want to move your Program Files folder from one
drive to another. When you install Windows, any settings pertaining to
this folder may be stored in the Registry as C:\Program Files or C:\
Progra~1. Make sure you search for both.
* See ???Advanced NTFS Settings,??? in Chapter 5, for more information on short-filename generation.
96 | Chapter 3: The Registry
Now, when searching the Registry for both Program Files
and Progra~1, it may occur to you to just search for progra,
which will indeed catch both variations. Because this will
stumble upon other instances of the word program, try limiting
the results by placing a backslash (\) in front of the text
(e.g., \progra) to limit the search to only directory names
beginning with those letters. Neato.
DLLs, classes, components, extensions, and CLSIDs
Windows and all your applications are constructed from smaller building
blocks, sometimes referred to as classes, extensions, or objects. I??™ll
spare you a tirade on COM components, .
Pages:
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152