Community
    • Login

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

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 6 Posters 18.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • vsrawatV
      vsrawat
      last edited by

      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.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by PeterJones

        @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\*\...

        1 Reply Last reply Reply Quote 5
        • levid0sL
          levid0s
          last edited by

          TL;DR: Create the following reg file and double click.
          Substitute the path to the executable.

          Windows Registry Editor Version 5.00
          
          [HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++]
          "Icon"="C:\\Tools\\Notepad++\\notepad++.exe,0"
          
          [HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++\command]
          @="\"C:\\Tools\\Notepad++\\notepad++.exe\" \"%1\""
          
          Tanmay SahaT 1 Reply Last reply Reply Quote 2
          • Tanmay SahaT
            Tanmay Saha @levid0s
            last edited by

            @levid0s said in How to get windows explorer right-click menu “Open/Edit with Notepad++”:

            TL;DR: Create the following reg file and double click.
            Substitute the path to the executable.

            Windows Registry Editor Version 5.00
            https://myhrkp.online/ https://flvslogin.online/ https://pointclickcarecna.online/ https://theranestlogin.online/
            
            > [HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++]
            "Icon"="C:\\Tools\\Notepad++\\notepad++.exe,0"
            
            [HKEY_CLASSES_ROOT\*\shell\Edit with Notepad++\command]
            @="\"C:\\Tools\\Notepad++\\notepad++.exe\" \"%1\""
            

            thanks my issue has been fixed.

            1 Reply Last reply Reply Quote 0
            • Steven MooreS
              Steven Moore
              last edited by Steven Moore

              This happens when you use the “Minimalist” install. Re-run the installer with the Minimalist options selected, but click the last entry that says “Context Menu Entry”. That will solve it.

              1 Reply Last reply Reply Quote 0
              • namx3249N
                namx3249
                last edited by namx3249

                more easy: go to np++ folder then make shortcut to exe file
                then trim this shortcut and paste on this folder ...\AppData\Roaming\Microsoft\Windows\SendTo
                so click on your txt file then mouse - right click - send to and choose np++

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors