7.15.6 Delete Method

Deletes a specified file or folder.
Syntax
object.Delete( force );
Arguments
- 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.
Remarks
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 © 2000 Chili!Soft
|