Look at the command line parameters for DEL and/or DELTREE (depending on OS). You have to SHELL out to do this, unless you want to write a custom UDF for this.
_________________________
There are two types of vessels, submarines and targets.