Hello Coding-Friends !
Im not realy sure, how to get the actual directory, while using WIN32_FIND_DATA.

REgards FF !
Posted on 2003-04-17 09:12:14 by Forginforcer
Check for FILE_ATTRIBUTE_DIRECTORY.

If you use the search function of this board with the API name ("FindFirstFile") and the keyword "directory" you get dozens of threads related to that topic.
Posted on 2003-04-17 09:35:14 by bazik
The quickest way to get the current directory is to use the GetCurrentDirectory
API function.
Posted on 2003-04-17 09:39:53 by Vortex
Ah, now i figure it out. But how to add a attribut to my structure ?
And how to chosse more than one file attribut ? - *.exe, *.com
Posted on 2003-04-17 10:06:23 by Forginforcer
.exe and .com are extensions not attributes you can only have one filename specification at a time. Some reading for you...
Posted on 2003-04-17 11:59:31 by donkey