Solved

Extended File Attributes

Posted on 2011-09-10
10
513 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Independent Software Vendors: 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!

 

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

Technology Partners: 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!

Question has a verified solution.

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

Navigation is an important part of web design from a usability perspective. But it is often a pain when it comes to a developer’s perspective. By navigation, it often means menuing. This is less theory and more practical of how to get a specific gro…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

728 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