如何更改应用程序打开方式前段时间
请将以下保存为注册表文件导入(末尾有2行空行):
Windows Registry Editor Version 5。00
[-HKEY_CLASSES_ROOT\。exe]
[HKEY_CLASSES_ROOT\。 exe]
@="exefile"
"Content Type"="application/x-msdownload"
[-HKEY_CLASSES_ROOT\。exe\PersistentHandler]
[HKEY_CLASSES_ROOT\。 exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb...全部
请将以下保存为注册表文件导入(末尾有2行空行):
Windows Registry Editor Version 5。00
[-HKEY_CLASSES_ROOT\。exe]
[HKEY_CLASSES_ROOT\。
exe]
@="exefile"
"Content Type"="application/x-msdownload"
[-HKEY_CLASSES_ROOT\。exe\PersistentHandler]
[HKEY_CLASSES_ROOT\。
exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
[HKEY_CLASSES_ROOT\exefile]
@="应用程序"
"EditFlags"=hex:38,07,00,00
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"
[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"
[HKEY_CLASSES_ROOT\exefile\shell]
[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00
[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\exefile\shell\runas]
[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"
[HKEY_CLASSES_ROOT\exefile\shellex]
[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"
[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\{B41DB860-8EE4-11D2-9906-E49FADC173CA}]
@=""
PS:用指定的方式打开了某个文件后,此操作将取代默认打开方式,但在文件类型面板中是看不见的。
需要删除该注册表后重建。另外,对于特殊的文件类型,比如"文件夹""驱动器"等,在文件类型面板选项中点重置,也无效,在下不知道EXE是否也在此列中。即使不是,用注册表的方法也是可绝对修复的。收起