Delete one or more files.
FileDelete ( "path" )
Parameters
Path | The path of the file(s) to delete. Wildcards are supported. |
Return Value
Success: | Return 1. |
Failure: | Returns 0 if files are not deleted or do not exist. |
Remarks
See FileFindFirstFile for a discussion of wildcards.
Related
FileCopy, FileMove, FileRecycle, DirRemove
Example
FileDelete("D:\*.tmp")