On 6/15/06 3:04 PM, "Giles Williams" <[EMAIL PROTECTED]> wrote:

> Is there an easy way to programmatically delete all of the files in a
> folder?

Yes.

You need to set up your delete function to be recursive.

Setup a function to accept a base directory and loop through each
BaseDir.item(x). If item(x) is a file, delete it. If item(x) is a directory,
recall the function with the new base directory.

-Seth 


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to