Add “Create a new txt document” in New menu (Windows 7)
I have been using Windows 7 for a while and have nice experience with it except two problems with Windows Explorer:
1. It does not automatically update the content folder when I created/deleted files.
2. It does not have “Create a new text document” in New menu when you right click in the folder space.

I followed the guide in How to Add / Remove Items from New Menu in Windows? :
1. Open regedit and expand “HKEY_CLASSES_ROOT” key.
2. Now look for the file type which you want to add in “New” menu, e.g. for adding MP3 file type look for .MP3 key.
3. Right-click on it and select “New -> Key” and give it name “ShellNew“.
4. In right-side pane, right-click and select “New -> String Value“. Give it name “NullFile” and press Enter.
5. Thats it. You’ll immediately get the file type entry in “New” menu.
But it does not work with my windows 7. I checked my registry it already has this kind of information.
I am looking further and found out that my favorite text editor (Notepad++) has some compatibility issue with Windows 7
.
Fortunately, I found the solution in Windows 7 forum. It still change the content of registry but with PersistentHandler handler of text file I believe.
Here is the reg file that fixes the problem:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt]
"PerceivedType"="text"
@="txtfile"
"Content Type"="text/plain"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.txt\ShellNew]
"ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,2c,00,\
2d,00,34,00,37,00,30,00,00,00
"NullFile"="" |