After malware and other registry corruption issues, CMD and control panel items and other things stop working. Use the following as a .REG file to fix it:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\exefile\shell\open\command] @="\"%1\" %*"