VBS to monitoring folder older then a specific date

Asked By 30 points N/A Posted on -
qa-featured

I want a Script in VBS to monitoring folder older than a specific date. I am using Windows XP, please help me by providing the Script. 

Thanks.

SHARE
Best Answer by Luker Malcom
Best Answer
Best Answer
Answered By 5 points N/A #174869

VBS to monitoring folder older then a specific date

qa-featured

Hi Jessica,

Here is a VBScript you can use if you want to delete files that a certain folder contains. This script deletes files only if they are an hour or more than an hour older. This is actually a good script because you can configure it you want longer hours or days.

A disclaimer: I do not own this code. I got it from http://halfloaded.com/ uploaded by one of their programmers/bloggers.

Answered By 10 points N/A #174868

VBS to monitoring folder older then a specific date

qa-featured

Hi,

I give you a script below which works great for deleting department subfolders of \servernameterminatedusers older than 3 years, but unfortunately that becomes a little bit of a problem when the user folders contained within are newer than 3 years.

VBScript: Attached

Though it has a little bit of a problem, I wish it may be helpful for you.

Thanking you.

Franke Mary

Related Questions