PURGE

PURGE is similar to a combination of the DELETE and RD or RMDIR commands. Unlike DELETE, PURGE will only delete one file at a time, and will also delete directories. PURGE will not delete a directory unless there are no files in that directory. Also, HTBasic will allow you to PURGE an ASSIGNed file. The actual PURGE takes place after the file is closed.