8.9.6 Delete Method

Deletes a specified file.
Syntax
object.Delete force
Arguments
- object
- The name of a File object. Required.
- force
- A Boolean value that is True if files with the read-only attribute set are to be deleted; False (default) if they are not. Optional.
Remarks
An error occurs if the specified file does not exist.
The results of the Delete method on a File object are identical to operations performed using DeleteFile.
Copyright © 2000 Chili!Soft
|