DeleteFile

Top  Previous  Next

function DeleteFile(sFileName As String) As Boolean

 

Deletes an existing file.

 

If the file doesn't exist or could not be deleted, DeleteFile returns FALSE.

 

Parameters

 

sFileName ... String expression. Absolute path and filename.

 

Example:

DeleteFile("e:\exp\temp.$")




Translate document: