How to get windows explorer right-click menu "Open/Edit with Notepad++"

  • on my w10, when I right click on any file name in explorer, I am not seeing any “Open/Edit with Notepad++” type of entry.

    Previously I was having it, seems I might have got it through some some. Forgotten how I had done it.

    Please guide how do I get that entry.


  • @vsrawat said:

    I am not seeing any “Open/Edit with Notepad++” type of entry.

    Odd, I just set up a new computer (Win10) last weekend, and when I installed Notepad++ from the installer, it automatically added the “Edit with Notepad++” entry. That recent install created HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\ANotepad++64, which pointed to HKEY_CLASSES_ROOT\CLSID\{B298D29A-A6ED-11DE-BA8C-A68E55D89593}, and that sets InprocServer32 to point to the Notepad++ DLL, and gives it some Settings.

    However, if those aren’t there (and if re-install doesn’t add it for you), instead you could create your own association using regedit.exe:

    • HKEY_CLASSES_ROOT\*\shell\Notepad++, setting value (Default) to Open/Edit with Notepad++
    • HKEY_CLASSES_ROOT\*\shell\Notepad++\command, setting value (Default) to "c:\Program Files\Notepad++\notepad++.exe" "%1" %*
      • Yes, those quotes are important, and are part of the value you set
      • If you’ve got 32-bit Notepad++ on a 64-bit OS, it will be C:\Program Files (x86) instead.
      • If you’ve installed it somewhere else than normal, point to that location, rather than the Program Files location

    If you don’t have write-access to the HKEY_CLASSES_ROOT section, you can change HKEY_CLASSES_ROOT\*\... above to HKEY_CURRENT_USER\Software\Classses\*\...

Log in to reply