在使用XP系统电脑的时候,有时候打开EXE文件发现无法打开,经过查询后发现,这个问题可能是EXE文件关联的注册表键值发生损坏或丢失造成的,对此我们该如何解决呢?下面本文就给大家介绍一种修复EXE文件关联的方法。
1、在桌面上空白处鼠标右键,弹出的快捷菜单指向“新建”,在下一级菜单中选择“文本文档”;
2、打开新建的文本文档,将下面的代码复制进去:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOTexefile]
@="应用程序"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"
[HKEY_CLASSES_ROOTexefileDefaultIcon]
@="%1"
[HKEY_CLASSES_ROOTexefileshell]
[HKEY_CLASSES_ROOTexefileshellopen]
"EditFlags"=hex:00,00,00,00、
[HKEY_CLASSES_ROOTexefileshellopencommand]
@=""%1" %*"
[HKEY_CLASSES_ROOTexefileshellrunas]
[HKEY_CLASSES_ROOTexefileshellrunascommand]
@=""%1" %*"
[HKEY_CLASSES_ROOTexefileshellex]
[HKEY_CLASSES_ROOTexefileshellexDropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOTexefileshellexPropertySheetHandlers]
[HKEY_CLASSES_ROOTexefileshellexPropertySheetHandlersPifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_CLASSES_ROOTexefileshellexPropertySheetHandlersShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_CLASSES_ROOTexefileshellexPropertySheetHandlers{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@=""
[HKEY_LOCAL_MACHINESOFTWAREClasses.exe]
@="exefile"
"Content Type"="application/x-msdownload"
[HKEY_LOCAL_MACHINESOFTWAREClasses.exePersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefile]
@="应用程序"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileDefaultIcon]
@="%1"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshell]
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellopen]
"EditFlags"=hex:00,00,00,00
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellopencommand]
@=""%1" %*"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellrunas]
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellrunascommand]
@=""%1" %*"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellex]
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellexDropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellexPropertySheetHandlers]
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellexPropertySheetHandlersPifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellexPropertySheetHandlersShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_LOCAL_MACHINESOFTWAREClassesexefileshellexPropertySheetHandlers{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@=""