Windows – How to set Notepad++ as the default editor

file associationnotepadwindowswindows 7

I want set Notepad++ as the default editor. I tried to set it by right-clicking on a file, then Open With. But I did not see Notepad++ in the resulting list (even after clicking on Choose Other Programs).

When I try to redirect to Notepad++ through the Browse option to notepad++.exe file it is doing nothing. (Its not recognizing somehow)

enter image description here

Best Answer

  1. Start Notepad++ with elevated privileges.

    enter image description here

  2. In Notepad++, go to Settings, Preferences...

  3. Go to the File Association tab.

  4. Select fortran,TeX,SQL and then .sql and add it to the registered extensions:

    enter image description here

  5. Click Close.

Related Question