Hi all,
I am looking for an easy way to make sure a file has been updated in the last 10 minutes. Is there an easy way to do this without a lot of time manipulation in vbscript?
I don't know what you mean by a lot of time manipulation. You would do the same thing as you would do in any other language:
1) Get the date last modified of the file
2) Subtract the date last modified from now
3) See if the difference is greater than 10 minutes
[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.