Icon on folder

O

olsen.orjan

I'm developing a new software that creates a user and a project folder.
Instead of standard icon on these folders I want to make them mer
personal.
How can I change the icons on folders?
This is my inifile for project folder:

[.ShellClassInfo]
ConfirmFileOp=0
NoSharing=1
IconFile=personal.ico
IconIndex=0
InfoTip= project folder

This file and personal.ico are saved in the project folder. But the
icon is still the same as all others folders in xp.
 
W

Wesley Vogel

Use something like

[.ShellClassInfo]
IconFile=%USERPROFILE%\My Documents\ICONS\Spy.ico
IconIndex=0

Or

[.ShellClassInfo]
IconFile=%SystemRoot%\system32\SHELL32.dll
IconIndex=43

Or

[.ShellClassInfo]
IconFile=%ProgramFiles%\Microsoft Office\Office10\WINWORD.EXE
IconIndex=0

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top