Results 1 to 5 of 5

Thread: find files

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    33
    how can i find all files on my harddrive of a certian type....im looking for somethign almost exactally like the find in windows

  2. #2
    Guest
    Use the FindFirstFile and FindNextFile API Calls.

  3. #3
    Guest
    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?

  4. #4

    Thread Starter
    Member
    Join Date
    Jun 2000
    Posts
    33
    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

  5. #5
    Guest
    Creation date would be the primary order of sorting.
    Probably I need to keep track of that too!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width