4. Next, look at the (Default) value of the extension key, and then look for
a subkey that matches the contents of the (Default) value. Again, for
the .txt extension, you??™d go to HKEY_CLASSES_ROOT\.txt\txtfile.
5. As in step 3, if you see a subkey here named ShellNew, rename it to
Shellnew- (Shellnew followed by a hyphen).
6. The change will take effect once you close the Registry Editor; rightclick
the desktop and select New to check it out.
As you can see, it??™s merely the presence of a ShellNew key that determines
whether a file type shows up in Windows Explorer??™s New menu. (Actually,
it??™s a little more complicated than that, but more on that subject later.)
To get a list of all the potential entries to appear in the New
menu, fire up Registry Agent (see ???Search and Replace Registry
Data,??? earlier in this chapter), and search the entire Registry
for ShellNew. (If you want to weed out erroneous
matches, turn on the Keys option, uncheck the Values and
Data options, and then turn on Match whole word.)
Now, there are some nifty hacks you can use on the ShellNew keys you
choose to leave intact. A standard ShellNew key has only one value
(NullFile, described in the upcoming list), but if you add any of the other
following values to the ShellNew key, you??™ll change how Windows Explorer
behaves when you select the corresponding items from its New menu. All
values are string values unless otherwise specified:
Command
If you include the full path and filename of a program executable (.
Pages:
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219