I am facing a problem in my friend's pc.All shortcuts pointing to an exe opens in adobe acrobat and output the error "This file format is not supported".This is the same when any exe(program exe or setup exe) is launched.I doubt the problem is in the registry that has become corrupt and is opening all executable files with adobe pdf.I cannot even run regedit to edit the entries as even that opens with adobe pdf with the error.Please guide how can the problem开发者_StackOverflow中文版 be solved through some script.The OS is windows 7 Ultimate.
You could to create .txt file from desctop. Then write:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.exe]
@="exefile"
"Content Type"="application/x-msdownload"
[HKEY_CLASSES_ROOT\.exe\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"
Then save as blabla.reg and run it. Click "OK". I think, it's all :)
精彩评论