Add items to "new" menu on right click

Joined
Jan 3, 2010
Messages
12
Reaction score
0
these shell extensions; where in the registry is a way to add or remove them? i am lacking "New Word Document"and have too much other junk.
 

Ian

Administrator
Joined
Oct 17, 2008
Messages
3,484
Reaction score
632
If you load up the registry editor and expand HKEY_CLASSES_ROOT, then go to .FILEEXTENSION and create a key called ShellNew. Inside that, create a new string key called NullFile with no value.

For example, if I wanted to create a new entry for a blank .BOB object I would create:

[HKEY_CLASSES_ROOT\.wil\ShellNew]
NullFile = ""

If the file extension such as .BOB does not exist, I would first create a file with that extension and double click it. Open it with the program of my choice as this would then create the other needed registry keys and make your job easier.

If you want to add a file as a template for the new item, use:

[HKEY_CLASSES_ROOT\.html\ShellNew]
"FileName"="html.html"

Then place the file (html.html) in C:\Windows\ShellNew

You can use the same logic to remove items that already exist. Hope that helps :)
 
Joined
Jan 3, 2010
Messages
12
Reaction score
0
If you load up the registry editor and expand HKEY_CLASSES_ROOT, then go to .FILEEXTENSION and create a key called ShellNew. Inside that, create a new string key called NullFile with no value.

For example, if I wanted to create a new entry for a blank .BOB object I would create:

[HKEY_CLASSES_ROOT\.wil\ShellNew]
NullFile = ""

If the file extension such as .BOB does not exist, I would first create a file with that extension and double click it. Open it with the program of my choice as this would then create the other needed registry keys and make your job easier.

If you want to add a file as a template for the new item, use:

[HKEY_CLASSES_ROOT\.html\ShellNew]
"FileName"="html.html"

Then place the file (html.html) in C:\Windows\ShellNew

You can use the same logic to remove items that already exist. Hope that helps :)
i really could not understand your instructions. sorry. I have no HKEY_CLASSES_ROOT\.FILEEXTENSION in my registry.

then, why would you create .wil if you want to create .BOB?
i am lost
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top