Solved

Extended File Attributes

Posted on 2011-09-10
10
498 Views
Last Modified: 2012-05-12
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
Comment
Question by:TonyDelphiHunt
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 26

Expert Comment

by:gtworek
ID: 36516036
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
 

Author Comment

by:TonyDelphiHunt
ID: 36516157
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
 
LVL 26

Expert Comment

by:gtworek
ID: 36516190
What do you actually need to do? What this part of your app does?
0
 

Author Comment

by:TonyDelphiHunt
ID: 36516208
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 26

Expert Comment

by:gtworek
ID: 36516257
Oh I see... I this case my first advice was totally wrong. Sorry. I have no idea how to read it with Delphi.
0
 
LVL 45

Accepted Solution

by:
aikimark earned 250 total points
ID: 36518953
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
 
LVL 45

Expert Comment

by:aikimark
ID: 36924928
I think that my comment http:#36518953 provided the solution and should be accepted.
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 36984547
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now