DeleteFile Example

 

The following example deletes the file named 鍍est1.txt from the c: drive.

 

Sub Main

 

 'you must have a file called c:\test1 with any extension created to use this

 Action.DeleteFile ("c:\test1.txt") 

 

End Sub

 

 

This example will delete all the files named 鍍est1, regardless of their extension.

 

Sub Main

 

 'you must have a file called c:\test1 with any extension created to use this

 Action.DeleteFile ("c:\test\test1.*") 

 

End Sub