Results 1 to 5 of 5

Thread: Search all folders on disk for files

Threaded View

  1. #1

    Thread Starter
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Search all folders on disk for files

    Working project example of how to search all the folders on the disk of your computer for files.

    This zip file has two project that do exactly the same thing, that is Scan the hard disk for files. now the project in the zip file ScanFolders.zip uses the FileSystemObject Method to Scan and the ScanFolders2.zip file uses API calls to Scan.


    You will see that the FileSystsem Object project has a completion speed of at least four times greater than the project with the API calls.

    This does not mean that you should not use the FileSystemObject method. it just means that you should not use it when there is a lot of scanning to do. The FileSystemObject method is easier to code and understand which is a plus.


    Enjoy.
    Attached Files Attached Files
    Last edited by randem; Dec 3rd, 2003 at 06:09 PM.

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