yeah - don't.

You should run an admin script instead.. use DirList() or one of the other UDFs to locate the files - log them first & review the log. Then use the same script to remove. This way, you can script in exceptions if you need to.

I have a similar script, running as a service on our file servers where home folders reside, and reports run every Wednesday and deletes every Sunday via scheduled task.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D