DeleteFile
Deletes a file.
Syntax
FileSystem.DeleteFile(File)
Parameters
|
File
|
String, input
|
|
|
Name and path of the file to be deleted.
|
Example
This example deletes the specified file:
Sub Main()
FileSystem.DeleteFile "C:\Users\Public\My Directory\Test.txt"
End Sub