Extended Attributes

T

Troy Simpson

Hello,

I want to set extended attributes on a folder so that we can provide
alternative sorting in windows explorer by adding custom attributes to the
column headings in the file list. eg. set an attribute called MYATTRIB to a
value for a folder. But when I right-click on a folder I don't see any
ability to change extended attributes, even though this works for (most)
filetypes. I have read that NTFS supports extended attributes on files and
folders, so is there a utility or an API I can use to set extended
attributes on a folder? Thanks in advance.


Regards,

Troy
 
T

Troy Simpson

Oh come now, that was a bit presumptuous wasn't it? I've been looking in
google for days, the closest you will find is "NtSetEaFile", but I was
hoping for a non-coded solution. Also, take careful note that it requires a
file handle, how do you get one of those on a folder? Please note that the
question does not refer to extended attributes in NTFS file permissions
(i.e. NOT ACL's), I am talking about Comment, Title etc. on a folder.

Thankyou for your contribution Kelly, does anyone have anything specific
which can lead to a solution?


Troy
 

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