gcue Posted August 28, 2008 Posted August 28, 2008 ok i know it would probably have to do with FileGetTime. but then how do you compare both values and evaluate which is newer?
Glyph Posted August 28, 2008 Posted August 28, 2008 Put them into seperate variables, and compare! tolle indicium
rasim Posted August 28, 2008 Posted August 28, 2008 gcueTry this:$FileTime1 = FileGetTime("c:\pagefile.sys", 1, 1) $FileTime2 = FileGetTime("c:\boot.ini", 1, 1) If $FileTime1 > $FileTime2 Then MsgBox(0, "Info", '"c:\pagefile.sys" newest than "c:\boot.ini"')
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now