Delete a file or directory
Source position: amigados.pas line 1604
function DOSDeleteFile( |
const name: PChar |
):LongBool; |
const name: string |
):Boolean; |
name |
|
Name of file or directory to delete. |
If failed IoErr() gives detailed error message.
name |
|
Name of file or directory to delete. |
This attempts to delete the file or directory specified by name. An error is returned if the deletion fails. Note that all the files within a directory must be deleted before the directory itself can be deleted.