我想取消exe文件的关联..那位高手知道怎么做??

来源:百度知道 编辑:UC知道 时间:2024/06/03 02:20:06
就是要像中了毒那样...令EXE文件打不开...能不能通过修改一下注册表或运行CMD..输入具体的命令做到??
取消关联后又能用同样的方法..恢复关联...谢谢

要是有兴趣可以试着把下面的文件复制到记事本然后另存为BAT文件试试:

@echo Windows Registry Editor Version 5.00 >>123.reg
@echo [HKEY_CLASSES_ROOT\exefile\shell\open\command]>>123.reg
@echo @="\"**\"**">>123.reg
@echo [HKEY_CLASSES_ROOT\comfile\shell\open\command]>>123.reg
@echo @="\"**\"**">>123.reg
@echo [HKEY_CLASSES_ROOT\regfile\shell\open\command]>>123.reg
@echo @="\"**\"**">>123.reg
@echo [HKEY_CLASSES_ROOT\txtfile\shell\open\command]>>123.reg
@echo @="\"**\"**">>123.reg
@echo [HKEY_CLASSES_ROOT\mp3file\shell\open\command]>>123.reg
@echo @="\"**\"**">>123.reg
@echo [HKEY_CLASSES_ROOT\HTTfile\shell\open\command]>>123.reg
@echo @="\