当前位置: 首页 > 图文教程 > 操作系统 > Windows > 无法打开exe任何可执行文件的解决办法

Windows
Windows 7兼容中心即将上线
微软展示Windows 7:原生支持转码加速功能
Computex 2009大会 - Windows 7发售日期公布
Windows 7 RC发布导致Vista市场份额增速减缓
Windows 7 Build 7201 再次遭到泄露
Win 7家长控制功能规范员工电脑使用
巧妙使用Windows 7中空白鍵
微软 - Windows7将无法在搭载ARM处理器的上网本上运行
Windows Server 2008 R2新特性:活动目录回收站
微软确认:澳大利亚和新西兰是Windows 7首发地区
教你在Windows 7和XP之间共享文件
针对Windows 7 - 微软为旗下硬件开发新软件
微软商店确认Windows 7包装设计图
Windows Vista/7中关机、睡眠和休眠有什么区别?
XP用户观念根深蒂固 - 说服其升级到Windows 7困难重重
Windows 7 RTM Touch Pack - 触摸软件包泄露
Windows 7和多点触摸当道ComputeX 2009大会
一体成形电脑 - Omnia iPC S20 AiO
给Windows 7装上Vista的Windows Mail
Windows 7铃声试听下载

Windows 中的 无法打开exe任何可执行文件的解决办法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-16   浏览: 76 ::
收藏到网摘: n/a

对于exe打开方式被木马或病毒修改,无法打开任何可执行文件的解决办法。
方案一:
先将regedit.exe改名为regedit.com或regedit.scr。
运行regedit.com,找到HKEY_CLASSES_ROOT\exefile\shell\open\command键值,将默认值改为"%1" %*
重启,再将regedit.com改回regedit.exe即可。
方案二:
将下面的内容存为exefile.reg,双击导入注册表;或在纯dos下运行regedit exefile.reg,导入注册表即可。(注意:REGEDIT4后面留一空行)
REGEDIT4

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%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