• Login
Community
  • Login

Associate Notepad++ with .txt .log etc

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 3 Posters 3.5k 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.
  • M
    Mick Dawdy
    last edited by Apr 22, 2021, 4:12 PM

    I can run Notepad++ as admin, I can choose Settings | Preferences | File Association. I see the 3 columns, the middle one empty, the one on the right has some choices. Those choices are not working regardless of which column I move them to. When I choose a File.txt, File.log etc it runs Windows notepad :(
    If I log on as administrator the choice takes effect, but for only the administrator user, not for my ordinary user account.
    I want association access to Notepad++ from my user account :)

    P 1 Reply Last reply Apr 22, 2021, 5:20 PM Reply Quote 1
    • P
      PeterJones @Mick Dawdy
      last edited by Apr 22, 2021, 5:20 PM

      @Mick-Dawdy ,

      I can run Notepad++ as admin

      Based on your symptoms, I am assuming you logged in as the Administrator user. When Notepad++ preference dialog told you to Run as Admin, it meant for you to stay as your normal user, but use the “Run as Administrator” that you can get via right-clicking on the executable or right clicking on your shortcut (for a shortcut pinned on your taskbar, it takes right clicking on the icon, then right clicking on notepad++, then choosing “Run as Administrator”). That way, it gives you admin privileges while still being your username, so the settings will be saved in the right location.

      Alternately, as your normal account, just right click on the file, Open With…, then Choose Another App, select Notepad++ and check “Always use this app to open .txt files”. (Note: sometimes Windows fights against this method. Search this forum for “associate” or “association” for more discussions on similar topics.)

      And often there’s an “Edit with Notepad++” or similarly-named entry near the top of the right-click menu, depending on how things went during your original installation… that can be used to open with notepad++ even when double-click doesn’t open it that way.

      M 1 Reply Last reply Apr 23, 2021, 4:00 PM Reply Quote 3
      • M
        Mick Dawdy @PeterJones
        last edited by Mick Dawdy Apr 23, 2021, 4:02 PM Apr 23, 2021, 4:00 PM

        @PeterJones Thank you for the detailed reply, but your assumption was incorrect :( Without going into a lot of detail, there appears to be no way to set it up so that I can simply double click on a txt, log, etc file name to run NotePad++ regardless of my login choice.

        To me this is a major inconvenience, and I see no reason for it. This is just a text editor! It is not a system program that needs to have restricted access.

        I really like this Notepad++ and I have opposite feelings about Win Notepad, and it really annoys me every time I go to use it, which is every day. It should be changed, get rid of all the administrator requirements OR show me the way
        or I might have to join your Haters group :):)
        Mick

        1 Reply Last reply Reply Quote 0
        • A
          Alan Kilborn
          last edited by Apr 23, 2021, 4:54 PM

          I’m of the opinion that this part of the Preferences could be removed and I would not miss it:

          f0578f47-ac83-46f4-82ce-b176083f2eab-image.png

          But that’s just me. I presume it works just fine for some people, on some OSes. Actually, I don’t know that it doesn’t work for me, I just know that I don’t need it, so I don’t use it.

          What I do, for a very limited number of file types, is what Peter suggested here:

          Alternately, as your normal account, just right click on the file, Open With…, then Choose Another App, select Notepad++ and check “Always use this app to open .txt files”.

          Simple, direct, easy.
          But I suppose it doesn’t work for everyone.
          It works for me on Windows 10.

          @Mick-Dawdy

          It might help if you shared what operating system you are working under.
          Not necessarily for me (since I don’t do things the way you are trying); but maybe someone else would be able to help better, knowing that.

          Actually, providing Debug Info would be best; see the ? in Notepad++'s menu bar.

          1 Reply Last reply Reply Quote 3
          • M
            Mick Dawdy
            last edited by Mick Dawdy Apr 25, 2021, 12:51 AM Apr 25, 2021, 12:51 AM

            I missed one of the options. I should have waited a day, settled down, and went at it again. Anyway, all’s good now. Thank you for the patient help :)

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