MrMajik
IS-IT--Management
- Apr 2, 2002
- 267
Using VB6...
I have a process running that generates 5 text files every minute of the day, 24 hrs a day. This generates a huge amount of files. Only files that are > 0 in size are worth keeping. Most files are empty.
Do you know how to delete a bunch of files solely by their file size? I only want to kill the empty files. All the files reside in the same folder. When completed this program will run one time each day as there will usually be at least 1400 of these text files to remove.
Thank you.
I have a process running that generates 5 text files every minute of the day, 24 hrs a day. This generates a huge amount of files. Only files that are > 0 in size are worth keeping. Most files are empty.
Do you know how to delete a bunch of files solely by their file size? I only want to kill the empty files. All the files reside in the same folder. When completed this program will run one time each day as there will usually be at least 1400 of these text files to remove.
Thank you.