Or use the ready-made CleanDirectory() - Cleans up the temporary directories (or any arbitrary directory) UDF.
_________________________
There are two types of vessels, submarines and targets.