Windows – Change all file type associations from one program to another

file associationwindows 7

Is it possible to easily change all file type associations that are currently associated with one program to another program in one batch? In my case, I am trying to change all files types currently associated with Notepad to instead use Notepad++ in Windows 7.

It's a pain to go through Default Programs > Set Associations because after each type the entire list re-populates, taking several seconds. Is there a way I can do a search and replace in the registry, or something even easier?

Best Answer

In many programs you can set file types associated with the program itself from settings. For example in Notepad++ you can go to Settings -> Preferences and select tab File Association. There you can add files that should be associated with notepad++.

This is not direct answer to what you asked but it should accomplish the same task. In case the program you want to set associations with doesn't have this option you will have to use your method.