htm和html文件不显示图标的解决.doc_第1页
htm和html文件不显示图标的解决.doc_第2页
htm和html文件不显示图标的解决.doc_第3页
htm和html文件不显示图标的解决.doc_第4页
htm和html文件不显示图标的解决.doc_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

htm和html文件不显示图标不论是IE还是其它的浏览器,比如360安全浏览器,只要将它们设置为默认浏览器,它们都会将htm及html文件的图标改为自己相应的图标。以便确认是用该浏览器打开的。但是经常会发生文件图标突然改变为无关联文件的图标。经过反复的试验,各种程序包括注册表清理工具及360安全的清理工具,都没有造成这种改变。主要是浏览网页时,网页的设置尤其插件,可能改变了有关的注册表设置而造成的。不仅改变了图标,也会使浏览器的性能受到影响,比如下载功能的丢失.。这很难避免,而且有非常大的偶然性,防不胜防。仅就文件图标来说,经过试验,不论是IE还是360安全浏览器,恢复图标的最有效的办法倒是:先将注册表中 HKEY_CLASSES_ROOThtmlfileShellEx IconHandler子项删除,再重新通过编辑文件类型来更改图标(双击我的电脑-工具-文件夹选项-文件类型-找到hemheml扩展名-高级-更改图标)。IE是默认浏览器时它们的图标就是C:Program FilesInternet ExplorerIEXPLORE.EXE的图标;而360安全浏览器成为默认浏览器时它们的图标是C:WINDOWSsystem32url.dll的图标。比如下面的图示是我们恢复360安全浏览器的图标,这中间可以遇到“找不到%1的错误”提示,不用管它。图1图2不用管它,按“确定”,然后在更改图标的对话框中点击“浏览”找到url.dll所在的文件位置,出现一系列的图标,如图选那个默认的,带红星号的,再点击对话框的确定,就好了。图3这个方法对IE6,IE8以及360安全浏览器都试过,很灵的。记住一定要先将注册表中 HKEY_CLASSES_ROOThtmlfileShellEx IconHandler子项删除!当然也可以直接通过修改注册表来完成,例如可以通过下面的适当的reg文件直接导入注册表值就可以了。【有关这两个文件图标的的注册表项】如果你愿意从注册表下手,也很方便。下面是有关注册表的正常设置值。当没有安装360安全浏览器时,我的默认Web浏览器是IE8。这时的注册表有关设置如下:而导出的htmlfile如下:htmlfileIE8.regWindows Registry Editor Version 5.00HKEY_CLASSES_ROOT.htm=htmlfileContent Type=text/htmlPerceivedType=textHKEY_CLASSES_ROOT.htmOpenWithListHKEY_CLASSES_ROOT.htmOpenWithListnotepad.exeHKEY_CLASSES_ROOT.html=htmlfileContent Type=text/htmlPerceivedType=textHKEY_CLASSES_ROOThtmlfile=HTML DocumentFriendlyTypeName=C:WINDOWSsystem32ieframe.dll.mui,-912EditFlags=dword:00000000HKEY_CLASSES_ROOThtmlfileBrowseInPlace=HKEY_CLASSES_ROOThtmlfileCLSID=25336920-03F9-11cf-8FD0-00AA00686F13HKEY_CLASSES_ROOThtmlfileDefaultIcon=C:Program FilesInternet ExplorerIEXPLORE.EXE,-17HKEY_CLASSES_ROOThtmlfileScriptHostEncode=0CF774D0-F077-11D1-B1BC-00C04F86C324HKEY_CLASSES_ROOThtmlfileshell=opennewHKEY_CLASSES_ROOThtmlfileshellopen=Open in S&ame WindowMUIVerb=C:WINDOWSsystem32ieframe.dll.mui,-5732HKEY_CLASSES_ROOThtmlfileshellopencommand=C:Program FilesInternet ExplorerIEXPLORE.EXE -nohomeHKEY_CLASSES_ROOThtmlfileshellopenddeexec=file:/%1,-1,NoActivateHandler=HKEY_CLASSES_ROOThtmlfileshellopenddeexecApplication=IExploreHKEY_CLASSES_ROOThtmlfileshellopenddeexecTopic=WWW_OpenURLHKEY_CLASSES_ROOThtmlfileshellopennewMUIVerb=C:WINDOWSsystem32ieframe.dll.mui,-5731=&OpenHKEY_CLASSES_ROOThtmlfileshellopennewcommand=C:Program FilesInternet ExplorerIEXPLORE.EXE %1HKEY_CLASSES_ROOThtmlfileshellopennewddeexec=%1,-1,0,NoActivateHandler=HKEY_CLASSES_ROOThtmlfileshellopennewddeexecApplication=IExploreHKEY_CLASSES_ROOThtmlfileshellopennewddeexecIfExec=*HKEY_CLASSES_ROOThtmlfileshellopennewddeexecTopic=WWW_OpenURLNewWindowHKEY_CLASSES_ROOThtmlfileshellprintHKEY_CLASSES_ROOThtmlfileshellprintcommand=C:WINDOWSsystem32rundll32.exe C:WINDOWSsystem32mshtml.dll,PrintHTML %1HKEY_CLASSES_ROOThtmlfileshellprinttoHKEY_CLASSES_ROOThtmlfileshellprinttocommand=C:WINDOWSsystem32rundll32.exe C:WINDOWSsystem32mshtml.dll,PrintHTML %1 %2 %3 %4HKEY_CLASSES_ROOT htmlfile ShellEx-HKEY_CLASSES_ROOT htmlfileShellExIconHandler原来的IE6相应的注册表设置如下:htmlfileIE6.regWindows Registry Editor Version 5.00HKEY_CLASSES_ROOT.htm=htmlfileContent Type=text/htmlPerceivedType=textHKEY_CLASSES_ROOT.htmOpenWithListHKEY_CLASSES_ROOT.htmOpenWithListnotepad.exeHKEY_CLASSES_ROOT.html=htmlfileContent Type=text/htmlPerceivedType=textHKEY_CLASSES_ROOThtmlfile=HTML DocumentEditFlags=dword:00000000HKEY_CLASSES_ROOThtmlfileBrowseInPlace=HKEY_CLASSES_ROOThtmlfileCLSID=25336920-03F9-11cf-8FD0-00AA00686F13HKEY_CLASSES_ROOThtmlfileDefaultIcon=hex(2):43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46, 00,69,00,6c,00,65,00,73,00,5c,00,49,00,6e,00,74,00,65,00,72,00,6e,00,65,00, 74,00,20,00,45,00,78,00,70,00,6c,00,6f,00,72,00,65,00,72,00,5c,00,69,00,65, 00,78,00,70,00,6c,00,6f,00,72,00,65,00,2e,00,65,00,78,00,65,00,2c,00,31,00, 00,00HKEY_CLASSES_ROOThtmlfileScriptHostEncode=0CF774D0-F077-11D1-B1BC-00C04F86C324HKEY_CLASSES_ROOThtmlfileshell=opennewHKEY_CLASSES_ROOThtmlfileshellopen=在同一窗口中打开(&A)MUIVerb=C:WINDOWSsystem32ieframe.dll.mui,-5732HKEY_CLASSES_ROOThtmlfileshellopencommand=C:Program Filesinternet exploreriexplore.exe %1HKEY_CLASSES_ROOThtmlfileshellopenddeexec=file:/%1,-1,NoActivateHandler=HKEY_CLASSES_ROOThtmlfileshellopenddeexecApplication=IExploreHKEY_CLASSES_ROOThtmlfileshellopenddeexecTopic=WWW_OpenURLHKEY_CLASSES_ROOThtmlfileshellopennewMUIVerb=C:WINDOWSsystem32ieframe.dll.mui,-5731=打开(&O)HKEY_CLASSES_ROOThtmlfileshellopennewcommand=C:Program FilesInternet Exploreriexplore.exe %1HKEY_CLASSES_ROOThtmlfileshellopennewddeexec=%1,-1,0,NoActivateHandler=HKEY_CLASSES_ROOThtmlfileshellopennewddeexecApplication=IExploreHKEY_CLASSES_ROOThtmlfileshellopennewddeexecIfExec=*HKEY_CLASSES_ROOThtmlfileshellopennewddeexecTopic=WWW_OpenURLNewWindowHKEY_CLASSES_ROOThtmlfileshellprintHKEY_CLASSES_ROOThtmlfileshellprintcommand=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65, 00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00, 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73, 00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00, 6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,00,00HKEY_CLASSES_ROOThtmlfileshellprinttoHKEY_CLASSES_ROOThtmlfileshellprinttocommand=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65, 00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00, 25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,73, 00,68,00,74,00,6d,00,6c,00,2e,00,64,00,6c,00,6c,00,2c,00,50,00,72,00,69,00, 6e,00,74,00,48,00,54,00,4d,00,4c,00,20,00,22,00,25,00,31,00,22,00,20,00,22, 00,25,00,32,00,22,00,20,00,22,00,25,00,33,00,22,00,20,00,22,00,25,00,34,00, 22,00,00,00HKEY_CLASSES_ROOT htmlfile ShellEx-HKEY_CLASSES_ROOT htmlfileShellExIconHandler安装360安全浏览器后,它替代IE而成为默认浏览器,自动地更改了.htm和.html文件的默认打开方式。有关的注册表改变,导出如下:360seURL.regWindows Registry Editor Version 5.00HKEY_CLASSES_ROOT.htm=360seURLContent Type=text/htmlPerceivedType=textHKEY_CLASSES_ROOT.htmOpenWithListHKEY_CLASSES_ROOT.htmOpenWithListnotepad.exeHKEY_CLASSES_ROOT.html=360seURLContent Type=text/htmlPerceivedType=t

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论