I would like to remove all file types but one from right click menu resulting on right-clicking on background in windows XP (and then going to “new”).
I tried HKCR ->Directory ->Background->sheelex in the registry and there is “new” item but it just have one value.
The problem is I have like 20 file types there but I only need one to save time looking for that .txt every time (to be sure no random stuff is added to new file, I am editing extension myself every time anyway).
Where do I find content of this menu ?
I would like to remove all file types but one from right click menu
Share
This topic is explained here: Extending the New Submenu
http://msdn.microsoft.com/en-us/library/windows/desktop/cc144101(v=vs.85).aspx#new
To do the opposite, you need to search the registry for below key:
Where
XXXis a file extension name. e.g.:bmp,rtf,txt, etc.You can do this by using below batch file.
It will show something like this.
Note that not all
ShellNewsubkey will be displayed on theNewsubmenu since it must follow the requirements as decribed in the above link.To remove the New File menu entry, delete the
ShellNewregistry subkey.For example, if the file extension name is
dpp, then registry key would be:And to remove the
ShellNewsubkey, you can use Registry Editor or the command line REG tool.For REG example: