Friday, July 25, 2008

Error while opening bat or ini file

Looks like there is trojan on the system and this happen. If you don't want to reinstall the system, simply scan the trojan and here is how to fix the error.

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\edit\command] = %SystemRoot%\System32\NOTEPAD.EXE %1"

Notice at the end, there is a single ". You need to remove that " and it should work like a charm.

PS: Above path is for the .bat. For .ini, you need to find inifile and so on.

No comments: