Community
    • Login

    How change icon per extension (windows)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    extensionwindowsicons
    4 Posts 2 Posters 1.2k Views 1 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.
    • BobSquarePantsB Offline
      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 Offline
        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 Offline
          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 Offline
            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

            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