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!!!!
_________________________
Chaguito, MCP