STD.File.DeleteLogicalFile( lfn, allowMissing )
| lfn | A null-terminated string containing the logical name of the file. |
| allowMissing | Optional. A boolean value indicating whether to post an error if the filename does not exist. If omitted, the default is FALSE. |
The DeleteLogicalFile function removes the named file from disk.
Example:
A := STD.File.DeleteLogicalFile('Fred');