I do like Notepad++, but I hate its icon. I'm very happy with Windows icons for txt/ini/… files, and would like to keep them. How can I associate Notepad++ with all supported filetypes without changing icons? With Notepad2, the problem did not occur.
Use Windows default icon with Notepad++
iconsnotepad
Best Answer
Here's a quick answer that works perfectly. It's based on @bubu's answer, but massively simplified to make it easier:
HKEY_CLASSES_ROOT\Applications\notepad++.exe\DefaultIcon
(IfDefaultIcon
doesn't exist, create it underNew > key
)C:\Windows\System32\Shell32.dll,70
It should look something like this when you're done:
This will set ALL files associated with NotePad++ to the default .txt icon in Windows 10. (The text document icon is the 70th icon in Shell32.dll.)
Simply sign out and back in to see the change.
For other versions of Windows the .txt icon won't be the 70th one, so to pick the one you want, simply open Shell32.dll after selecting "Change Icon", and count to the icon you want to use like so: