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.
You can adjust the icon by editing the registry:
How to Change the Icon for a File Type in Windows 7 and Vista
Windows XP and earlier Operating Systems include the most useful File Types tab in the Folder Options applet. This tab was removed in Windows Vista and Windows 7 and replaced by Default Programs, which lacks many features that the File Types tab has. This forced users to look for third-party utilities to manage file type associations and customize the icons. This article provides information on how to manually change the icon for file types in Windows 7 and Vista. Tired of editing the registry? You can automate the following task using Default Programs Editor. See our recent article Using Default Programs Editor to Change File Type Icons in Windows 7 and Windows Vista Customizing the Icon for a File Type
(For illustrative purposes, let’s assume that you have a custom file type .abc (for purposes of illustration) for which you want to change the icon.
Hint: You may use the icon picker dialog box to choose an icon from a EXE/DLL file. To launch the icon picker dialog:
One you note the icon index, simply cancel the icon picker dialog and close folder properties dialog.
For example, to set the 260th icon in Shell32.dll (contains a text pad icon), type the following path:
8.Exit the Registry Editor.
Restart Windows for the icon change to take effect. In case it doesn't, you can force a icon refresh manually, or try rebuilding the icon cache using Disk Cleanup.
Do the following:
That's all, the icon has not changed
Here's a quick answer that works perfectly. It's based on @bubu's answer, but massively simplified to make it easier:
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 that file.) Sign out and back in to see the change.
For other operating systems simply open Shell32.dll after selecting "Change Icon" and count to the icon you want like so: