Monday, May 21, 2012
   
Text Size

FSO.DELETEFILE Function

Below are example of the FSO.DELETEFILE Function:

IF FSO.FileExists ("c:\temp.txt") Then    'Check to see if c:\temp.txt file exists
 FSO.DeleteFile ("c:\temp.txt")    'If File Exists - Delete It
Else
End If

Please Note: Append to Template.vbs to run this script.