Quote:
Originally Posted by Naughty
Thanks, will look into it. However, you say this:
//Remove the newest 3 files from the array
Obviously we want to kill the oldest, not the newest, right?
So how does that come about?
|
Exactly, the "//Remove the remainder of files" section physically removes the files that are still in the array of files obtained from the folder. The "//Remove the newest 3 files from the array" section ensures the newest 3 files are not in the array of files to be physically removed.
Does that make sense?