2

Skype has a nice custom folder icon for the Skype folder in C:\Program Files.

How do you do register a custom icon for a specific windows (XP and up) folder?

xian
  • 4,537
  • 5
  • 33
  • 38
Mike Trader
  • 8,284
  • 13
  • 53
  • 65

3 Answers3

6

Customizing Folders with Desktop.ini

Paul
  • 12,755
  • 3
  • 41
  • 56
3

Take a look at Skype's desktop.ini. It's a hidden file, you might have to enable Show hidden files to see it.

Zr40
  • 1,902
  • 18
  • 20
  • [.ShellClassInfo] IconIndex=-910 IconFile=C:\Program Files\Skype\Phone\Skype.exe How do you register an icon? – Mike Trader Jul 12 '09 at 00:42
  • " Set this entry to specify the index for a custom icon. If the file assigned to IconFile only contains a single icon, set IconIndex to 0." An index where? How do I assign this an icon? – Mike Trader Jul 12 '09 at 00:48
  • .exe and .dll files can have several icons embedded. In this case you have to specify which of the icons to use with IconIndex. – Paul Jul 12 '09 at 00:53
1

There is no separate API to customize folders. But you could use WritePrivateProfileString and GetPrivateProfileString functions to manage desktop.ini file.

Kirill V. Lyadvinsky
  • 93,507
  • 24
  • 133
  • 210