这几天不知道怎么搞的电脑老是出问题,才装的系统也不好用。装上卡巴斯基升级后就发现了很多病毒(特洛伊木马),把病毒删除了后我的系统就出现了很多问题了。
如:打开.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
实际上,这3种方案原理是一样的.
相关文章:
- tomcat7.exe 无法打开的问题解决 2021-08-01
- 无法打开文件“freeglut.lib”解决方法: 2021-07-27
- python打不开文件-python文件打不开如何解决 2021-08-29
- LNK1104 无法打开文件“python37_d.lib” 解决方法 2021-09-16
- 无法打开文件“opencv_world330d.lib”的解决办法 2021-09-14