Chinaunix首页 | 论坛 | 博客
  • 博客访问: 662856
  • 博文数量: 740
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 4910
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-17 15:16
文章分类

全部博文(740)

文章存档

2011年(1)

2008年(739)

我的朋友

分类:

2008-10-17 15:25:32

  因为杀毒或中毒,是机器上的.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
--------------------next---------------------

阅读(522) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~