Cicode Programming Reference > Cicode Function Categories > File Functions Introduction > FileDelete

FileDelete

Deletes a file.

Syntax

FileDelete(Name)

Name:

The name of the file to delete.

Return Value

0 (zero) if successful, otherwise an error is returned.

Related Functions

FileCopy

Example

! Delete old report file.
FileDelete("C:\Data\Report.Txt");

See Also

File Functions