Sub DeleteFile($fileName As String) As Boolean


Deletes an existing file.


If the file does not exist, or if it cannot be deleted, DeleteFile returns FALSE.


Parameters


  • $fileName ... String expression that specifies the absolute path and file name.


Example:

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