Community
    • Login

    How change icon per extension (windows)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    extensionwindowsicons
    4 Posts 2 Posters 794 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.
    • BobSquarePantsB
      BobSquarePants
      last edited by BobSquarePants

      Hi everyone,

      I changed the default program for my .ini and .txt and set Notepad++

      The problem is when I change the default icon for the .txt extension it also put the same for the .ini :/

      and it make “sense” because the reg is pointing there ->
      HKEY_CLASSES_ROOT\Applications\notepad++.exe\DefaultIcon

      for all the extension linked to notepad++ and not per extension as for example winamp ->

      HKEY_CLASSES_ROOT\Winamp.File.MP3\DefaultIcon

      Where you can a different icon per extension…

      Any idea how to achieve the same with Notepad++ ?

      EkopalypseE 1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @BobSquarePants
        last edited by

        @BobSquarePants

        Any idea how to achieve the same with Notepad++ ?

        I don’t have any experience it this but what about
        using the same technique as done with winamp?
        Maybe something like HKEY_CLASSES_ROOT\Notepad++.File.TXT\DefaultIcon

        BobSquarePantsB 1 Reply Last reply Reply Quote 2
        • BobSquarePantsB
          BobSquarePants @Ekopalypse
          last edited by

          Thank you @Ekopalypse
          I was thinking about it, but I was wondering that maybe someone had a neat tool to do it.
          if not I’ll do this this week-end manually.

          Maybe something like HKEY_CLASSES_ROOT\Notepad++.File.TXT\DefaultIcon

          yes , and deleted the previous reference and created all the reg keys for this.

          I’ll post here my final product / solution when done.

          Cheers

          1 Reply Last reply Reply Quote 0
          • BobSquarePantsB
            BobSquarePants
            last edited by

            Done,

            So it quite easy. You should let .ini .txt attach to their default apps (notepad.exe)
            and simply change manually the reg info from
            HKEY_CLASSES_ROOT\inifile
            HKEY_CLASSES_ROOT\inifile\shell\open\command pointing to Notepad++
            HKEY_CLASSES_ROOT\inifile\DefaultIcon The .ico of your choice

            and that it.
            You should avoid Windows to make the binding for you :)

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