Thursday, December 19, 2013

VB Script function for deleting a specific file

Public Function Func_Delete_File(file_location)
Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile(file_location)
End Function

No comments:

Post a Comment