Created
June 3, 2009 09:37
-
-
Save nolim1t/122904 to your computer and use it in GitHub Desktop.
VBScript code to show when a file was last modified
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set fso = CreateObject(Scripting.FileSystemObject) | |
Set f = fso.GetFile("Path\to\file") | |
MsgBox CLng(DateDiff("s", f.DateLastModified, Now)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment