But as you can notice this could be rather slow, So does anybody know of a quick way of doing this sort of this on a large number of files. I am running W2kopen(DIR,"c:\directory\"); foreach (readdir(DIR)) { Del_File() if (-M > (scaler localtime - TWELVE_WEEKS); } close(DIR);
In reply to Deleting Files by BatGnat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |