ie无法打开.mht文件解决方案

将以下代码保存成注册表文件(保存成后缀为.reg的文件),然后双击导入注册表即可

______________________________________________

REGEDIT4
[HKEY_CLASSES_ROOT\.mht]
@="mhtmlfile"
"Content Type"="message/rfc822"
[HKEY_CLASSES_ROOT\.mht\ShellEx]
[HKEY_CLASSES_ROOT\.mht\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{EAB841A0-9550-11cf-8C16-00805F1408F3}"
[HKEY_CLASSES_ROOT\mhtmlfile]
@="MHTML Document"
[HKEY_CLASSES_ROOT\mhtmlfile\BrowseInPlace]
@=""
[HKEY_CLASSES_ROOT\mhtmlfile\CLSID]
@="{3050F3D9-98B5-11CF-BB82-00AA00BDCE0B}"
[HKEY_CLASSES_ROOT\mhtmlfile\DefaultIcon]
@="C: \\Program Files \\Internet Explorer \\iexplore.exe,22"
[HKEY_CLASSES_ROOT\mhtmlfile\shell]
@="opennew"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open]
@="Open in S&ame Window"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\command]
@="\"C: \\Program Files \\Internet Explorer \\iexplore.exe\" -nohome"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec]
@="\"[url= file://%251/]file://%1\",,-1[/url],,,,,"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec\Application]
@="IExplore"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\open\ddeexec\Topic]
@="WWW_OpenURL"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew]
@="&Open"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\command]
@="\"C: \\Program Files \\Internet Explorer \\iexplore.exe\" %1"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec]
@="\"[url= file://%251/]file://%1\",,-1[/url],,,,,"
"NoActivateHandler"=""
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\Application]
@="IExplore"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\IfExec]
@="*"
[HKEY_CLASSES_ROOT\mhtmlfile\shell\opennew\ddeexec\Topic]
@="WWW_OpenURLNewWindow"

你可能感兴趣的:(解决方案)