平时保存一些资料,习惯于保存为mht格式,既有文字,又有图片,比较方便.
今天本来想更改打开方式,可是不注意将文件类型中的关联删掉了.搞得自己打不开,郁闷!
搜索了一下,原来mht文件是类似于邮件方式存储的文档,扩展名改为eml,居然可以使用oe打开.可是,用IE还是无法正确打开!
无奈,只好找另外一台可以打开的机器,搜索注册表,将mht和mhtml的文件类型注册表内容导出来,到我的本子上双击导入,才可以正常打开.
如果哪位同学遇到类似问题,可以将下面内容复制到文本文件中,并将文件扩展名改为reg,双击导入即可.
(适用于windows XP SP3)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.mht]
@="360seURL"
"Content Type"="message/rfc822"
[HKEY_CLASSES_ROOT\.mht\OpenWithList]
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel]
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell]
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell\edit]
@="打开(&O)"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell\edit\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\EXCEL.EXE\" /e"
"command"=hex(7):26,00,69,00,67,00,41,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
5a,00,58,00,66,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,45,00,58,00,43,\
00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,21,00,44,00,65,00,40,00,\
5d,00,56,00,7a,00,28,00,72,00,3d,00,66,00,60,00,31,00,6c,00,66,00,71,00,60,\
00,3f,00,52,00,26,00,20,00,2f,00,65,00,00,00,00,00
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell\edit\ddeexec]
@="[open(\"%1\")]"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell\edit\ddeexec\application]
@="Excel"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Excel\shell\edit\ddeexec\topic]
@="system"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word]
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell]
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell\edit]
@="打开(&O)"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell\edit\command]
@="\"C:\\Program Files\\Microsoft Office\\OFFICE11\\WINWORD.EXE\" /n /dde"
"command"=hex(7):26,00,69,00,67,00,41,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
5a,00,58,00,66,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,57,00,4f,00,52,\
00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,50,00,60,00,6f,00,73,00,2c,00,\
31,00,40,00,53,00,57,00,3d,00,50,00,37,00,76,00,36,00,47,00,50,00,6c,00,5d,\
00,58,00,68,00,20,00,2f,00,6e,00,20,00,2f,00,64,00,64,00,65,00,00,00,00,00
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell\edit\ddeexec]
@="[REM _DDE_Direct][FileOpen(\"%1\")]"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell\edit\ddeexec\Application]
@="WinWord"
[HKEY_CLASSES_ROOT\.mht\OpenWithList\Microsoft Office Word\shell\edit\ddeexec\Topic]
@="System"