Pascal Scripting: DeleteFile

Prototype

function DeleteFile(const FileName: String): Boolean;

Description

Erases the file named by FileName from the disk.
If the file cannot be deleted or does not exist, the function returns False.