Change the Last Modify and Last Access date
> I have a customer who has a disk where about 120GB of old files are
> located, We think about 1% of these files are being accessed on a day
> to day basis. We want to archive the "non-active" files off the disk.
> I would like to set the last access and last modifed dates to the
> current date on all files on the disk, then after a week or so search
> for files with a last access or modify dates later then the one I
> have set previously.
> I've found a function that can retrieve the folder creation date,
> etc. But not much on files except copy, delete, move etc.
> I would like to know where I can find information on manipulating
> these attributes.
You need a file touch utility to reset the file dates. Here's the first
free one I found (never used one myself)...
Goldseal Studios - Downloads
The use the methods, collections, and objects provided by FSO
(Scripting.FileSystemObject) to check the dates...
Download details: Windows Script Documentation
Seattle WA US
Technet Script Center