Speed up file / folder traversing

afripino

  • Joined: Sep 10, 2013
  • Posts: 8

Thu 3/27/2014 - 14:33

Example:

I'd like to move all files that are X days old from a folder that has over 20000 files in it. Rather than doing a "get files in folder" before doing the date compare for each file in a for loop, I'd like to be able to process the files directly. It takes a very long time to queue up the File List then process the files.

#1
Not a member yet? Register

Copyright 2014 - Softomotive Ltd