file.delete ("System:temp file") » true
If the file is locked or busy, an error results.
If the path names a folder that contains files or sub-folders, an error results.