tumblr tracker

Delete

Library Reference ›› File ››
Parent Previous Next

File.Delete


Namespace: File


Deletes a file.


retval = File.Delete(FilePath)


Parameters:

- FilePath; string constant or variable containing the file path of the file to delete


Returns:

True if successful, otherwise false; boolean value.


Example


File.Delete("C:\TEMP\somefile.txt")