Fille Association problem

Hi guys. Somehow I have managed to delete the file extension .ico. Now when I go to any file type ie .mp3, right click for properties and change the icon, windows XP will not apply the changed icon I have selected and all I see is the "default document" icon for that file type. XP will also not apply all my changes from within icon packager (v3.00.090) but it will to some icons.I store all generally used icons in a special file and when using explorer used to see the image of each icon but now only see the "default" icon. What do i need to do here please, can anyone help? Many thanks Angela
1,851 views 3 replies
Reply #1 Top
In explorer, open Tools/Folder Options/Filetypes
Click on "New"
Type "ico" in the box
Click "Advanced"
It should choose "Icon File" automatically.
If it doesn't, select it from the drop down box.

Do not assign an icon for it!

Then copy the following to Notepad and save to your desktop as Icon.reg. (Choose "Save As Type=All Files" so the system does not put .txt on it.)



Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\icofile\DefaultIcon]
@="%1"



Then right click the file and choose "Merge"

The reason for the .reg file is windows will not let you assign %1 for the default icon, and that's what it has to be. If you are comfortable with the registry, you could put it in manually.

Hope this helps. If it doesn't work, you may need to reinstall windows. The ico extension is critical for all file types.
Reply #2 Top
Hi and thanks for the help which I have tried but unfortunately Nero Photosnap viewer seems to want to pinch file association under the "folder options\file types" even though I have checked the preferences in this application. I have also put ito and saved notepad as you suggested but when I go to merge I get "Cannot Import.........ico.reg.The specified file is not a registry script. You can only import binary registry files from within the registry editor"
The current setting under this registry key is as follows Name Type Data
ab default REG_SZ Nero PhotoSnap Viewer


Would you advise changing this data to @="%1"?
I am always optimistic of a solution rather than reinstallation.
Reply #3 Top
Yes, you could add it manually. Open the registry with regedit and open HKey_CLASSES_ROOT.
Scroll down to icofile\default icon and double click "default" put %1 in the value data.

Hopefully that will fix it for you.