Solved

Extended File Attributes

Posted on 2011-09-10
10
501 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
ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 

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
 
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

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to send memory stream from ics Client To ics server ? 11 111
C# code editing and collaboration 3 114
Adoquery sql  left join does not work 25 91
Adjust the position 3 60
Windows Script Host (WSH) has been part of Windows since Windows NT4. Windows Script Host provides architecture for building dynamic scripts that consist of a core object model, scripting hosts, and scripting engines. The key components of Window…
Having just graduated from college and entered the workforce, I don’t find myself always using the tools and programs I grew accustomed to over the past four years. However, there is one program I continually find myself reverting back to…R.   So …
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

810 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