How to repair a broken .EXE file association [duplicate]

Solution 1:

Open Notepad and save a text file (using a .reg extension) with the following content:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"

Double click the file then reboot.

DISCLAIMER: Use at your OWN risk! There is no guarantee that this will work!