DeleteFile

From VLECK
Jump to: navigation, search

Deletes an existing file.

Syntax

Result = DeleteFile(FileName);

Return Value

If Successful the return value is 1 else the return value is 0.

Parameters

Remark DeleteFile does not allow wildcards. Also no directories will be deleted.


Example

DeleteFile("c:\pqr\test.txt");