I recently formatted and then reinstalled everything, but oddly now, Windows 7 refuses to let me set Notepad++ as the default .TXT editor.
I try to set the "open with" file as usual:
- right click a
.TXTfile Open With...→Choose Default→ Browse- paste
"C:\Program Files (x86)\Notepad++\notepad++.exe"
... but Notepad++ doesn't show up in the dialog (image below), and the file instead opens with lame old Notepad.exe.

However when I open "C:\Program Files (x86)\Notepad++\notepad++.exe" from the ![Windows Key][oldwinlogo]+R Run dialog, Notepad++ opens without a problem.
Also, certain files' context menu have Edit with Notepad++, which also works fine.
From my registry, in case it's relevant:
[HKEY_CLASSES_ROOT\.txt] Default="txtfile" Content Type="text/plain" PerceivedType="text" [HKEY_CLASSES_ROOT\.txt\PersistentHandler] @="{5e941d80-bf96-11cd-b579-08002b30bfeb}" [HKEY_CLASSES_ROOT\.txt\ShellNew] ItemName="@%SystemRoot%\system32\notepad.exe,-470" NullFile=""
I tried rebooting... Any ideas?
Edit: I had also tried the editing the Associations directly in NPP as admin, without success. Note that I'm using Windows 7.
(I just got all my N++ setting/themes/plugins/ftp/etc all painstakingly setup, and it was working fine until I tried it this morning, so I'm hoping for a fix other than reinstalling N++.)
assoc .txtreturn.txt=txtfileandftype txtfilereturntxtfile=%SystemRoot%\system32\NOTEPAD.EXE %1? – LotPings Nov 11 '18 at 08:16assoc .txt=.txt=txtfile,ftype txtfile=txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1– ashleedawg Nov 11 '18 at 09:38notepad++.exeand paste it in the same directory (C:\Program Files (x86)\Notepad++\). Rename it as something else, for example,notepad_plus.exe. Now try toOpen withand browse to this location. You should be able to see thenew executable. Let me know if it works. – DigitalNomad Nov 12 '18 at 15:46