
November 11th, 2005, 09:03 AM
|
|
Contributing User
|
|
Join Date: May 2004
Posts: 81

Time spent in forums: 23 h 35 m 39 sec
Reputation Power: 10
|
|
|
Hello there.
Can you be more specific...?
Are you referring to file attributes(hidden, system, etc...) or are you trying to find what's the associated process(word, excel, etc...) for a given file type?
If you want the attributes you can use the FindFirstFile and FindNextFile functions to retrieve the files and it's attributes.
Be aware that a folder is a special kind of file, thus it is retrieved as a files from the above functions.
In the other case you need to use the registry to find what is any process(application) attached to a given file type(by the way I think that's how Explorer gets the icons from the applications).
Hope this helps...
|