Community
    • Login

    Make Notepad++ Default Program

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 5 Posters 12.5k Views 2 Watching
    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.
    • Gerald HanleyG Offline
      Gerald Hanley
      last edited by

      How do I make notepad ++ the default program in Windows 10? It doesn’t show up as an option in default programs.

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Gerald Hanley
        last edited by Claudia Frank

        Hello @Gerald-Hanley,

        what do you mean by default program in windows 10?
        Do you mean, open, let’s say txt files with npp always?
        If so, right click on the txt file,
        ->properties,
        ->press change button
        ->more apps
        ->scroll down
        ->look for another app on this pc
        ->goto npp install directory and select npp
        ->apply
        ->ok

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Công Cà CuốngC Offline
          Công Cà Cuống
          last edited by

          For .TXT file, it is ok.

          How can I make NPP as default program to open a no-extension file? Exam: “Makefile” (a special file, containing shell commands, that you create and name makefile, Makefile…)

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Công Cà Cuống
            last edited by Claudia Frank

            @Công-Cà-Chớn

            you need to hack the registry. (regedit.exe)

            Under HKEY_CLASSES_ROOT create a key . (a dot)
            under the dot key create a key shell
            under shell key create a key open
            under open key create a key command
            so you should have

            [HKEY_CLASSES_ROOT.\shell\open\command]

            doube click the default icon in the right pane and put in the complete path to npp and add %1.
            The path to npp should be encased by double quotes so something like

            “D:\ProgramData\notepad++\notepad++.exe” %1

            Of course with your installation path.

            Close regedit, done.

            Cheers
            Claudia

            Công Cà CuốngC 1 Reply Last reply Reply Quote 0
            • Công Cà CuốngC Offline
              Công Cà Cuống @Claudia Frank
              last edited by

              @Claudia-Frank

              Yeah, thanks for your support. It’s very good.

              1 Reply Last reply Reply Quote 0
              • musikervM Offline
                musikerv
                last edited by musikerv

                For Windows 7 but I think for 10 will be very similar
                Very easy non-registry method:

                1.Run Npp as Administrator.
                2.Settings->Preferences->File Association
                3.Choose from ‘Supported extenstions’, e.g. “.txt” and add it to “Registered extensions”.
                This gives Notepad++ as an option in windows context menu when clicking “Open with…”->“Choose default program…”
                This was NOT possible before by simple navigation into Npp install folder (cause it was not pre-listed in the proposed applications by Windows)

                1. Tataaaan!
                Geo RG 1 Reply Last reply Reply Quote 1
                • Geo RG Offline
                  Geo R @musikerv
                  last edited by

                  @musikerv Thanks much this is the easy way to make changes.
                  BTW, npp = the program itself Notepad++

                  Using the tab Settings and then Preferences

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors