Home » 2013 » April » 05

Archive for April 5, 2013

Delete old images – VB Script

Copy this code into notepad and save as DeleteOldImages.vbs ‘******************* Start of Code ************************* Option Explicit On Error Resume Next Dim oFSO, oFolder, sDirectoryPath Dim oFileCollection, oFile, sDir Dim iDaysOld ‘ Specify Directory Path From Where You want to clear the old files sDirectoryPath = “C:\Users\mike\Desktop\Test” ‘ Specify Number of Days Old File to Delete […]