Function FileDelete() Foundation
Deletes one or more files specified by a file mask and file attributes.
FileDelete( <cFileMask> , ;
[<nFileAttributes>] ; // Default: 32
) --> lDeleted
Returns .T. if at least one file was deleted.
<cFileMask>
This is a string specifying the file(s) to delete. It may contain "wild cards" (eg: "C:\DATA\*.NTX" )
<nFileAttributes>
File attributes are numeric values corresponding to #define constants found in XBTDISK.CH
FA_NORMAL
FA_READONLY
FA_HIDDEN
FA_SYSTEM
FA_ARCHIVE
Multiple attributes are specified by adding the corresponding constants.
NOTE
To delete a directory the funtion DirRemove() must be used.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.