how can i find all files on my harddrive of a certian type....im looking for somethign almost exactally like the find in windows
Printable View
how can i find all files on my harddrive of a certian type....im looking for somethign almost exactally like the find in windows
Use the FindFirstFile and FindNextFile API Calls.
I use FindFirstFile and FindNextFiles to get a list of files matching a pattern. But the files are in random order each time. I need to retrieve the files in the order of creation date (and name).
Is this possible using the above calls or is there is any other api call / function to achieve this?
you can have the find files add to a temporary invisible list box which would sort them by name. after you did this then you can For Next through the whole listbox and move the info to wherever you want it
Creation date would be the primary order of sorting.
Probably I need to keep track of that too!