Changing Attributes of a Folder

Changing Attributes of a Folder

Post by abhimany » Wed, 14 Jan 2004 12:53:14



Hi all,

How can i change the Attributes of any Folder.
Is there any windows API that can do it for me.

Thanks in Advance

bye
Abhimanyu
 
 
 

Changing Attributes of a Folder

Post by Jogy » Sat, 17 Jan 2004 17:51:40


Hello,

Get/SetFileAttributes() work with both files and folders.

You may take a look at my SetFolderIcon example:
http://www.yqcomputer.com/
which sets the System attribute of a folder
in order to change it's icon.

Jogy