Community
    • Login

    Replace Notepad++ as Default W10 editor. How to ?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 110 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.
    • A
      AlainCh2
      last edited by AlainCh2

      I was able to set it as the default editor on all my PCs.

      After the crash in this one, and a full re-install of W10
      … !! I can’t remember how to do it!!

      Windows App Default doesn’t propose it, but it’s correctly installed.

      (Maybe it was done via a REG edit ? )

      **Update & Solution [3 steps] **

      • Crazy as it can be …

      1)
      c0fced2e-ef7a-43c0-80d4-dbd590a828cc-image.png

      -That’s not enough!!

      • Activated in right click > Open With

      2) -> Open with >Choose another App \ Browse to Program Files/Notepad++ 🙄

      -That’s not enough … …crazy as it can be,
      Windows dont accept it on .INI .REG and the other text group extension

      26eef3ce-3d38-4e0d-b953-78b16652bdcf-image.png

      • BUT now you have fixed it as > Edit with Notepad++,

      ea8511e3-a01a-496c-a3c6-beb9017eea32-image.png

      … also for any other extension in that group … so…

      3) choose .REG > Open with \ Notepad** if present, otherwise browse

      THAT’S IT !!! -> no way to miss-merge that extension!!!

      From now on:

      • When you double-click a .REG … it will open by default in Notepad++
      • If you need to run it >Open with > Registry Editor and LO! it will run once without changing back the defaults !!

      Hard to remember all that procedure, yes

      • but I wrote it a long time ago and forgot it!!!

      ( and now I’m sharing for other people)

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

        @AlainCh2 said in Replace Notepad++ as Default W10 editor. How to ?:

        Activated in right click > Open With
        Open with >Choose another App \ Browse to Program Files/Notepad++ 🙄

        -That’s not enough … …crazy as it can be,

        That always worked for me back when I was using Win10. And I just verified I had no difficulty in Win11 getting it to keep Notepad++ as an Open With for .ini files.

        • BUT now you have fixed it as > Edit with Notepad++,

        If all you are looking for is the Edit with Notepad++ choice in the right-click menu, when you run the installer initially, assuming it prompted with the UAC prompt, your installation should have included the ShellExtension DLL C:\Program Files\Notepad++\contextMenu\NppShell.dll (assuming you installed newer than v8.5.1; older versions used a different name, and didn’t work with Win11). And it should have registered that DLL so that the Windows Explorer context menu includes that. If something went wrong with that registration, you could open a cmd.exe or PowerShell window in that contextMenu directory, probably using “as Admin” when open that window, and then follow the manual DLL registration instructions instructions from the user manual. (That page in the user manual has a lot of different tactics to get the Edit with Notepad++ or similar, including a registry entry that adds it as a verb to all files, so that you don’t have to do the OpenWith on each file type. But the Shell Extension DLL is really the preferred method, because it’s designed to do things the way Windows likes.)

        With the modern Notepad++, that same DLL should work to get the right-click entry with either Win10 or Win11.

        If you got it working using an alternate method (like the registry edit shown in the first post), great. This is just presenting an alternate method, and the way that Notepad++ intends you to get Edit with Notepad++ functionality.

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