Re: Comparing and Changing DateLastModified
- From: "Michael Harris \(MVP\)" <mikhar at mvps dot org>
- Date: Sun, 24 Dec 2006 18:25:31 -0800
Two related questions:
What is the best method for comparing the DateLastModified properties
of two files, so that you can tell which is newer? Just use
Yes, use DateDiff or simple comparison...
Can you change a file's DateLastModified timestamp directly from vbs
without shelling out to a utility such as touch.exe?
No, DateLastModified is a read only property in the FSO object model.
You'll need to use an external utility...
Microsoft MVP Scripting