Home » Posts tagged "Files"

Archive for the 'Files' Tag

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 […]