第1个回答 2006-10-17
方案一:先将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]<br>@=\%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
完了后记得杀毒