Monday, May 21, 2012
   
Text Size

FSO.DELETEFOLDER Function

Below are example DELETEFOLDER method:

IF FSO.FolderExists ("c:\temp2") Then    'Check to see if c:\temp2 folder exists
 FSO.DeleteFolder ("c:\temp2")    'If Folder Exists - Delete It
Else
End If

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