xHarbour Reference Documentation > Function Reference |
Deletes one or more files specified by a file mask and file attributes.
FileDelete( <cFileMask>, [<nAttributes>] ) --> lDeleted
Values for file attributes
Value | Attribute |
---|---|
0 | Normal |
1 | Read only |
2 | Hidden |
4 | System |
8 | Volume |
16 | Directory |
32 | Archived |
The return value is .T. (true) if at least one file was deleted, otherwise .F. (false).
See also: | DeleteFile(), FErase() |
Category: | CT:DiskUtil , File functions , Low level file functions |
Source: | ct\files.c |
LIB: | xhb.lib |
DLL: | xhbdll.dll |
http://www.xHarbour.com