I searched the internet and this forum for answers on my question, without luck. The closest I got was this post by another guy who has the exact same problem as I. Therefore I will show you an edited version of his post, as he explained the problem quite well.
---
(Newsgroups: alt.os.windows2000)
Why can't I Change Icon after changing a file association?
Try this:
1) Bring up the Folder Options dialog under Windows Explorer and
select the File Types tab.
2) Change one of the file associations (like TIF) to a different
application.
3) Notice how the "Advanced" button changes to "Restore".
Without access to the Advanced button, you can't change the icon
used to display files of a given type. What's up with that?
I like to have Xnview open TIF files instead of the
Kodak ImageVue app. I also want TIF files to have a different icon, than lets say JPG files. But after changing the association, I can't go in
and pick a different icon since the "Advanced" button is
gone. Is there a workaround for this? NT4 didn't have this limitation.
Thanks,
Change Icon after changing a file association
Moderators: helmut, XnTriq, xnview
Using TC…

- This is true, Win XP is very obstinate about the associations / icons changes, it's a well known issue…
- Normally, I use the Total Commander File Menu >> "Associate with…" features to set / change associations and file-types icons; with XP, it's really boring… Many times, I had to suppress totally the file-type in Windows, reboot the PC, then reset it in Total Commander.
- My (greedy) 2-CPU XP-Pro machine is put off at this moment, but I could retest in the detail later if you don't succeed…

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Handling file associations under Windows is very annoying. Almost every version since Windows 95 changed the way to do it a little bit. But it got even more confusing. Sometimes the easiest way is to edit the registry directly. But as always you should be very careful when editing the registry:
0) Before you begin, use the restore button in folder options
1) Start regedit.
2) On the left side navigate to the key "HKEY_CLASSES_ROOT\.png"
3) On the right side select the entry "(Standard)"
4) Change the value of this entry to "XnView.png"
Hope, it works.
0) Before you begin, use the restore button in folder options
1) Start regedit.
2) On the left side navigate to the key "HKEY_CLASSES_ROOT\.png"
3) On the right side select the entry "(Standard)"
4) Change the value of this entry to "XnView.png"
Hope, it works.
Ok that enables me to change the icon which is great, but it wont open the files.
in "open" under actions I have this setting "C:\Program Files\XnView\xnview.exe" %1
Ive also tried "C:\Progr~2\XnView\xnview.exe" %1
What happens if I doubbleclick a jpg file is that I get an error box saying <error opening the file c:\documents">
regardless of where the jpg im trying to open is located. Then the Xnview browser is launched.
in "open" under actions I have this setting "C:\Program Files\XnView\xnview.exe" %1
Ive also tried "C:\Progr~2\XnView\xnview.exe" %1
What happens if I doubbleclick a jpg file is that I get an error box saying <error opening the file c:\documents">
regardless of where the jpg im trying to open is located. Then the Xnview browser is launched.
Your entry must besteffen wrote:Ok that enables me to change the icon which is great, but it wont open the files.
in "open" under actions I have this setting "C:\Program Files\XnView\xnview.exe" %1
Ive also tried "C:\Progr~2\XnView\xnview.exe" %1
What happens if I doubbleclick a jpg file is that I get an error box saying <error opening the file c:\documents">
regardless of where the jpg im trying to open is located. Then the Xnview browser is launched.
Code: Select all
"C:\Program Files\XnView\xnview.exe" "%1"
Problem solved!
Thank you all for some great help, those doubble quotemarks did the trick!

