小Q 发表于 2008-12-19 21:55

恢复exe关联,解决无法打开exe可执行文件的问题

我们经常遇见无法打开任何可执行文件,双击了之后一点反映都没有,其实这是exe文件的打开方式被木马或病毒修改了
方案一:先将regedit.exe改名为regedit.com或regedit.scr。
运行regedit.com,找到hkey_classes_root\exefile\shell\Open\command键值,将默认值改为%1%*重启,再将regedit.com改回regedit.exe即可。
方案二:将下面的内容存为 Antidu_exefile.reg,双击导入注册表;
或在纯dos下运行regedit Antidu_exefile.reg,导入注册表即可。(注意:有一空行)
Windows Registry Editor Version 5.00


@=\%1\%*
方案三(只适用于win2000/xp):
1、将cmd.exe改名为cmd.com或cmd.scr。
2、运行cmd.com
3、运行下面两个命令:ftype exefile=%1%* assoc.exe=exefile
4、将cmd.com改回cmd.exe
方案四:从新关联EXE文件。打开任意窗口(非IE窗口),工具---文件夹选项----文件类型----新建————在“文件扩展名”中填入“EXE”-----点击高级,在下拉菜单中选“应用程序”-------确定。
页: [1]
查看完整版本: 恢复exe关联,解决无法打开exe可执行文件的问题