Before installing NPP (or after uninstalling), I can create a new text file from within Explorer by choosing New from the context menu then choosing Text File. After installing NPP, the other New options are still there, but the Text File option vanishes. Any ideas how to restore this option?
Thanks.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ideally, I'd like .txt files to open with N++ by default, but I'd still like to be able to create .txt files from Explorer's property menu. I fear that I'll lose both by deleting the association via File Association Manager.
Greg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You have 2 choice :
1. wait for the v3.0 in which this bug is fixed.
2. modify the registry manually - no need to say that you should backup your registry before modifying it :
under the \HKEY_CLASSES_ROOT\.txt\
create a new key "ShellNew" if it is not present.
under the \HKEY_CLASSES_ROOT\.txt\ShellNew\
create a new string value "NullFile".
Now you can return to your explorer, the SECOND right click's context menu will give you "Notepad++ Document".
Don
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Before installing NPP (or after uninstalling), I can create a new text file from within Explorer by choosing New from the context menu then choosing Text File. After installing NPP, the other New options are still there, but the Text File option vanishes. Any ideas how to restore this option?
Thanks.
Greg
It's the bug of association of *.txt in the current version (v2.9). This bug is fixed in the v3.0 which will be available in the next week (I hope).
Deleting the association of *.txt via File Association Manager will solve your problem.
Don
On Vista using NPP v4.7.5 this bug is back.
Had to log in as administrator, edit the registry and remove all reference apart from the basic NullFile.
Thanks, Don.
Ideally, I'd like .txt files to open with N++ by default, but I'd still like to be able to create .txt files from Explorer's property menu. I fear that I'll lose both by deleting the association via File Association Manager.
Greg
Greg,
You have 2 choice :
1. wait for the v3.0 in which this bug is fixed.
2. modify the registry manually - no need to say that you should backup your registry before modifying it :
under the \HKEY_CLASSES_ROOT\.txt\
create a new key "ShellNew" if it is not present.
under the \HKEY_CLASSES_ROOT\.txt\ShellNew\
create a new string value "NullFile".
Now you can return to your explorer, the SECOND right click's context menu will give you "Notepad++ Document".
Don
Thanks very much, Don. Good work.
Regards.
Greg