DeleteFile |
Top Previous Next |
Prototype
DeleteFile(FileName)
Description
Deletes the file passed as parameter.
Parameters
FileName: A string containing a valid path and filename.
Returned value
None.
Notes
None.
Example
// Check if the file really exists bExists:=FileExists('c:\file.dat');
// If file exists then it is deleted If bExists=True Then DeleteFile('c:\file.dat'); |