View Full Version : FSO, Last Modified.
02-09-2003, 05:37 AM
I was told in a microsoft page that I can find out the modification date of a file with FSO.
I took a good long look at this, and I can't find it on their site.
Does anyone know the code?
02-09-2003, 06:55 AM
Set fs = CreateObject("Scripting.FileSystemObject")
Set testfile = fs.GetFile("filename")
thedate = testfile.DateLastModified
02-09-2003, 07:12 AM
That is exactly what I did, but I got an error with the file can't be found.
02-09-2003, 07:14 AM
Wait, I got it..
I need the full path to do it. Little set back I guess...
But I could use ServerVariables!
APPL_PHYSICAL_PATH and the folders it is in, then the name!
02-11-2003, 12:56 AM
So I assume you've figured it out? ;)
02-11-2003, 01:46 AM
02-11-2003, 02:37 AM
Cool, I will close this thread to save space.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.