Files.Delete |
Top Previous Next |
Syntax function Files.Delete(FileName: string): boolean
Alternative Names
Description Deletes the file identified by FileName and returns TRUE if successful, FALSE otherwise. In case of failure, you can use Shell.GetLastError to see why it failed.
See also
Example execute udsblock as begin Files.Delete('c:\temp\testfile.txt'); end |