Hello all...I looked into the cleandirectory() udf and doesn't work for what I need.
The thing is that there are folders created daily and after a certain amount of days need to be removed. If I use cleandirectory() it will do it but will also delete files from the folders that need to be kept.
You have to make a script which looks to todays date and the creation date of the folders. Lets say you want to delete every folder older than one week.
There are some time UDF's. Search for it in the UDF forum...
And it is the cleandirectory() udf but it does not work for me because I could have certain files on all folders with dates older and would be deleted.
Anyways I'll do some more searching but the help is very appreciated!!!!
Quote: And it is the cleandirectory() udf but it does not work for me because I could have certain files on all folders with dates older and would be deleted.
No, it is not...
I meant DateTimeDiff(), DateCalc(), DateTimeMath(),DateMath(), SerialDate(), etc