• Login
Community
  • Login

How change icon per extension (windows)

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
extensionwindowsicons
4 Posts 2 Posters 835 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.
  • B
    BobSquarePants
    last edited by BobSquarePants Jun 11, 2020, 5:03 AM Jun 11, 2020, 5:00 AM

    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++ ?

    E 1 Reply Last reply Jun 11, 2020, 12:19 PM Reply Quote 0
    • E
      Ekopalypse @BobSquarePants
      last edited by Jun 11, 2020, 12:19 PM

      @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

      B 1 Reply Last reply Jun 11, 2020, 2:10 PM Reply Quote 2
      • B
        BobSquarePants @Ekopalypse
        last edited by Jun 11, 2020, 2:10 PM

        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
        • B
          BobSquarePants
          last edited by Jun 12, 2020, 4:57 AM

          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
          2 out of 4
          • First post
            2/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors