Community
    • Login

    Windows 10 associate to .txt

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    10 Posts 8 Posters 4.7k 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.
    • Антон РевякинА
      Антон Ревякин
      last edited by

      Notepad++ 7.5.8, 7.5.7 maybe and lower versions can’t associate notepad++ to .txt

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • Daniel SchroederD
        Daniel Schroeder
        last edited by

        Same problem on Notepad++ 7.5.9. And it’s not just .txt files, it can’t be made the default application for ANY file types.

        1 Reply Last reply Reply Quote 0
        • Daniel SchroederD
          Daniel Schroeder
          last edited by

          Hmmmm, I just tried completely uninstalling Notepad++ and deleting the “C:\Program Files\Notepad++” directory and restarting, then installing v7.5.0, but still have the same problem. Maybe the issue isn’t with the newer version of Notepad++, but with Windows 10 itself? I’m using Windows 10 version 1803 (OS Build 17134.345). I’m able to set VS Code as the default app though, so I’m really not certain where the problem lies here.

          SinghRajenMS 1 Reply Last reply Reply Quote 0
          • cipher-1024C
            cipher-1024
            last edited by

            I know this side steps the actual issue, but there’s a new feature in 7.5.9 where you can use NPP as a replacement for windows notepad. This method is far easier than having to copy a launcher into 3 different windows directories and fighting the Windows File Protection. So far I haven’t had any issues with it.

            1 Reply Last reply Reply Quote 1
            • Tina BicenoT
              Tina Biceno
              last edited by

              Try this from an elevated command prompt (adjust as needed to the correct path):

              ftype txtfile=“C:\Program Files (x86)\Notepad++\notepad++.exe” “%1”

              Furatus777F 1 Reply Last reply Reply Quote 3
              • PeterJonesP
                PeterJones
                last edited by

                You’re not the first to have the problem. If you searched these forums for “associate”, you would have seen previous discussions.

                Based on that previous history, I am going to bet that you are using 64bit, not 32bit. There seems to be something with the 64bit install that doesn’t associate properly.

                This seems to be related to several long-time open issues in the development repo,

                • https://github.com/notepad-plus-plus/notepad-plus-plus/issues/1786
                • https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2440
                • https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2454
                • https://github.com/notepad-plus-plus/notepad-plus-plus/issues/2817
                • https://github.com/notepad-plus-plus/notepad-plus-plus/issues/4595

                In my post in a previous thread, I showed how to manually associate files. It’s similar to what @Tina-Biceno suggested, but make sure you use the 64-bit path, not the x86 path that Tina showed.

                SinghRajenMS 1 Reply Last reply Reply Quote 1
                • Furatus777F
                  Furatus777 @Tina Biceno
                  last edited by Furatus777

                  @Tina-Biceno Thanks - it works :)

                  1 Reply Last reply Reply Quote 0
                  • SinghRajenMS
                    SinghRajenM moderator @Daniel Schroeder
                    last edited by

                    @Daniel-Schroeder

                    Maybe the issue isn’t with the newer version of Notepad++, but with Windows 10 itself? I’m using Windows 10 version 1803 (OS Build 17134.345).

                    I think, you are right. Even, I am not able to set (not only npp, but other apps too e.g. default notepad, worpad, vlc player etc.). I am using Windows 10 version 1803 (OS Build 17134.376).

                    1 Reply Last reply Reply Quote 0
                    • SinghRajenMS
                      SinghRajenM moderator @PeterJones
                      last edited by

                      @PeterJones

                      I am going to bet that you are using 64bit, not 32bit.

                      I am checking with 32 bit version too. Same issue. However there is small glitch when shifting from 32bit to 64bit which requires a fix (updating registry from “C:\Program Files (x86)\Notepad++\notepad++.exe” to “C:\Program Files\Notepad++\notepad++.exe”.

                      1 Reply Last reply Reply Quote 0
                      • dinkumoilD
                        dinkumoil @Антон Ревякин
                        last edited by

                        @Антон-Ревякин

                        Your are using Windows 10 1803? There seems to be a bug introduced with the 2018-10 Windows updates, see here.

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