Community
    • Login

    File Association - White Leaf Instead Icons

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 3 Posters 331 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.
    • User SoftU
      User Soft
      last edited by

      Hello.
      Please tell why when I register the file association through the NOTEPAD++ settings, then the icons of the corresponding file types turn into a white sheet?
      Example:
      alt text
      alt text

      Windows 10 Pro 20H2 x64, notepad++ 7.9.4 Portable

      User SoftU 2 Replies Last reply Reply Quote 0
      • User SoftU
        User Soft @User Soft
        last edited by

        You can add standard Windows icons in NotePad++ with file associations so that the display of the icons is the same as with the standard Windows notepad, but the file has always opened through NotePad++

        P.S: Sorry for my English, i use Google Translate.

        1 Reply Last reply Reply Quote 0
        • User SoftU
          User Soft @User Soft
          last edited by

          Please do not ignore my message :(

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

            @User-Soft said in File Association - White Leaf Instead Icons:

            Please do not ignore my message :(

            Sorry, there are dozens of questions a day, and occasionally one or two slip through unanswered; and when you reply to yourself, it stops showing up as “0 replies”, so it’s not as obvious that it hasn’t been answered. For example, I didn’t chime in because I don’t use that menu to make associations (I’ve never trusted apps to change associations in a reasonable manner on their own, so I do all my associations in the registry myself), so I was hoping someone who uses the internal association settings would be able to chime in; and in the meantime, since none of the “recent messages” showed up as “0 replies”, I hadn’t noticed no one ever replied to you.

            Unfortunately, I still don’t know how to make the icon right from inside Notepad++.

            Assuming that your registry maps .txt to txtfile , then if you go to HKEY_CLASSES_ROOT\txtfile\, there should be a DefaultIcon key; mine has (Default) value set to %SystemRoot%\system32\imageres.dll,-102 which uses the standard windows text-file icon

            1 Reply Last reply Reply Quote 1
            • mere-humanM
              mere-human
              last edited by

              @User-Soft I’m not sure but maybe you need to install the Notepad++ locally instead of using a portable version.
              Maybe then the icons would be displayed differently.
              Like this:
              1f0dec95-3efc-4460-bcb4-bb090bfcdc7b-image.png
              I’ve done it with local installation of Notepad++.

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