I have recieved an email from my friend that he is facing some problem with INI associatation. The problem is:
“Whenever I try to open any file with extension “.ini” (either by double clicking or open with Notepad), It prompts “The filename, directory name, or volume label syntax is incorrect”
Same file opens if I open it using wordpad. The problem is occuring with all “.ini” files. If I create a text file, type something and save it with extension .ini, I cant open it by double clicking or by right click and follow Open with >> Notepad.”
Actully It casued by a Virus/Trojon and it can be fixed manully. So I am sharing the solution to fix it.
If it doesn’t work…Copy the following Registry Code in notepad and save as FixINI.REG and double click to patch it.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.ini]
@=”inifile”
[HKEY_CLASSES_ROOT\.ini\PersistentHandler]
@=”{5e941d80-bf96-11cd-b579-08002b30bfeb}”
[HKEY_CLASSES_ROOT\inifile\shell\open]
[HKEY_CLASSES_ROOT\inifile\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\inifile\shell\open\command]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
Recent Comments