In Windows 7 x64 SP1, when creating a desktop.ini file with a text editor (e.g. notepad, notepad++) and saving it inside a folder, it does not work. For example, I have saved this desktop.ini inside a folder:
[.ShellClassInfo]
IconResource=C:\Windows\explorer.exe,0
[ViewState]
Mode=
Vid=
FolderType=Generic
But it does not work, i.e. the folder icon does not change! I have tried ANSI or Unicode encoding, neither does work.
Of course, when I change the folder icon with the Properties dialog, it does work: The folder shows the new icon and the desktop.ini file is created inside the folder with exactly the above format.
How can I make this work?