Monday, March 22, 2010

Spyware EXE Fix

Open the registry by calling regedit.exe within a batch file.



HKEY_CLASSES_ROOT\exefile\shell\open\command should have a default value of: "%1" %* exactly as I have typed.

This value is sometimes removed during a virus check and .exe files will not be run afterwards.

HKEY_CLASSES_ROOT\cmdfile\shell\open\command which preserves its default value of "%1" %* makes it possible to run .exe files indirectly from within batch files