Hi,
Long time back I had used this windows API. What this API did was input = pointer to a directory
Then you called it in a while loop and it returned the file names(full path) in that directory one by one. You had the option of doing this recursivley also. You could give wild cards like *, etc..
In other words it just imitates dir /s command and I want to do it programmatically. If some kind soul could please point me to the API I would be grateful.
regards
ananda

What API to use to parse file names in a given directory
Felix Jiang
The forum thing is not a big deal, there's a lot there to choose from....
Glad to help.
Mitch Denny
Moved to the right forum...
http://msdn.microsoft.com/library/default.asp url=/library/en-us/fileio/fs/findfirstfile.asp
FindFirstFile, followed by FindNextFile.
WhiteGandalf
best regards
ananda