Firefox html htm 文件图标修复

实用技巧评论1K阅读模式

The problem is that one of the key in the registry did not get update if a person reinstalls firefox with a new installation path.

Here's the solution. Remember to backup the registry in case something happen.
1. Open up the Registry Editor thru Run: regedit
2. Look for HKEY_CLASSES_ROOT\FirefoxHTML\ShellEx\IconHandler (Do not delete)
3. Click on the IconHandler and copy (Ctrl + C) the Data Value from the key (Should be a bunch of numbers and letters which is the CLSID)
4. Now find (Ctrl + F) and paste what you copy. Uncheck both the "Values" and "Data" and leave "Keys" checked. That's what you are going to look at. Click "Find Next."
5. First result: \HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\(bunch of numbers and letters that you are looking for). Click on Old Icon -> FirefoxHTML -> DefaultIcon and then double click on the value "(Default)". The path there should be the mistake. Change the old path to the path you installed Firefox.

That should fix the icon problem for htm, html, shtml, xht, and xhtml files (Associated File Type: Firefox Document).

打开注册表中的HKEY_CLASSES_ROOT\FirefoxHTML\ShellEx\IconHandler,复制那个CLSID串(类似{xxxx-xxxx-xxxx}的东西),然后在注册表的HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID中查找这个CLSID串,打开Old Icon\FirefoxHTML\DefaultIcon,看到错误路径了吧,修改之。

来源:http://forums.mozillazine.org/viewtopic.php?p=3075576

win7系统

某日,未知原因,可能是卸载office2007,然后装office2010之后 发现什么.htm,.html,.shtml等网页文件的图标没有了,成了空白

本来不是大问题,但是好奇心害死猫,害我花了1天时间解决这个问题

一开始如下:

想来想覆盖安装下应该可以的,但是这样的话,我的个人数据就都没了,那是不行的,于是想到了升级

OK 我chrome是6.几版本的,打开chrome/关于谷歌浏览器/升级,等了10分钟升级成7.0版本的

桌面,刷新 靠,还是白的

没办法,想其他办法

删除注册表root/.html的所有项,我想等会再打开,应该会重建这些项,没错,重建时重建了,可是图标依然没回来

只能另想办法了

既然是 文件的图标,那问题肯定出在注册表里面了

害的在这里面下功夫

经过一番测试,和猜想

想到了

 

DefautIcon每个文件后缀都有这么一个注册表项,我又往.html/添加这么一项,操,还是不行,当时真的是没辙了

 

我就以他为关键字 搜索整个注册表,找到有ChromeHTML/中有这么几个,问了下网友,其中的项都对

OK,我在搜....... 终于在HKEY_CLASSES_ROOT/CLSID/{42042206-2D85-11D3-8CFF-005004838597}/Old Icon

中看到有ChromeHTML,htmlfile,mhtmlfile三项,后2项又有子项defaultIcon

唯独ChromeHTML没有,我想也加上试试

HKEY_CLASSES_ROOT/CLSID/{42042206-2D85-11D3-8CFF-005004838597}/Old Icon/ChromeHTML新建项DefaultIcon

然后在HKEY_CLASSES_ROOT/CLSID/{42042206-2D85-11D3-8CFF-005004838597}/Old Icon/ChromeHTML/DefaultIcon修改默认的字符串值为:

"C:/Users/Administrator/AppData/Local/Google/Chrome/Application/chrome.exe,0"  chrome的安装地址加上",0"

桌面刷新 我操 终于回来了Firefox html htm 文件图标修复

匿名

回复问题

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

拖动滑块以完成验证