DeleteFileUTF8 function
Deletes the specified file name.
Declaration
function DeleteFileUTF8(const FileName: string): BooleanDescription
DeleteFileUTF8 is a Boolean function used to delete the specified
file name.
For the Windows environment, DeleteFileW in Windows is called to remove the
specified file name. For UNIX-like environments, DeleteFile in the
SysUtils unit is called to delete the specified file name.
InvalidateFileStateCache is also called.
The return value contains True when Filename is successfully deleted from the local file system.
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
