• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 555
  • Last Modified:

Extended File Attributes

Hi,

I require to read and change Extended File Attributes.

Any assistance would be welcome.

A commercial option is acceptable.

Best Wishes

Tony Hunt
0
TonyDelphiHunt
Asked:
TonyDelphiHunt
  • 3
  • 2
  • 2
  • +1
1 Solution
 
gtworekCommented:
You can call GetFileAttributesEx() API function - http://msdn.microsoft.com/en-us/library/aa364946(v=VS.85).aspx
Constants for file attributes are defined here: http://msdn.microsoft.com/en-us/library/gg258117(v=VS.85).aspx
0
 
TonyDelphiHuntAuthor Commented:
Thank you.

That's a good start.

Unfortunately I require a fully working Delphi solution. My programming experience is very much in the dba and sql area.

Best Wishes

Tony Hunt
0
 
gtworekCommented:
What do you actually need to do? What this part of your app does?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
TonyDelphiHuntAuthor Commented:
I have some software which stores its data as files and uses the 'Authors' extended attribute to store some useful information.

I would like to be able to retrieve this data. All the functions I have can only retrieve normal attributes, dates, that sort of thing.

Best Wishes

Tony Hunt
0
 
gtworekCommented:
Oh I see... I this case my first advice was totally wrong. Sorry. I have no idea how to read it with Delphi.
0
 
aikimarkCommented:
Looks like a storage management call will give this to you.
http://www.delphi-central.com/tutorials/File_Summary_Info.aspx

Also, I would be surprised if you weren't able to access this via the WinShell object or WMI code.
0
 
aikimarkCommented:
I think that my comment http:#36518953 provided the solution and should be accepted.
0
 
DhaestCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now