How change icon per extension (windows)

  • 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 ->

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


    Where you can a different icon per extension…

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

  • @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

  • 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.


  • 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\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 :)