|
Deletes a specified file or folder.
object.Delete( force );
object
Required. Always the name of a File object.
force
Optional. Boolean value that is True if files with the read-only attribute set are to be deleted, False (default) if they are not.
An error occurs if the specified file does not exist.
The results of the Delete method on a File are identical to operations performed using DeleteFile.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.