Sign in to follow this  
Followers 0
creeping

How to determine which file was accessed last

3 posts in this topic

#1 ·  Posted (edited)

Can anyone tell me if this is the correct way to determine if a file was modifiedafter the other one?

Func CheckFileDate($file1, $file2)
    If FileGetTime($file1, 2) > FileGetTime($file2, 2) Then
        Return 1
    Else
        Return 0
    EndIf
EndFunc

Thanks

Edited by creeping

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Can anyone tell me if this is the correct way to determine if a file was modifiedafter the other one?

Func CheckFileDate($file1, $file2)
    If FileGetTime($file1, 2) > FileGetTime($file2, 2) Then
        Return 1
    Else
        Return 0
    EndIf
EndFunc
oÝ÷ Ù8ZK?ªê-xe¢,)Ê°z·*ì¶)ò¢êí¢¶+e{*.±¬ªºZqǬ±çjºZÛazx§Ê«¦-ʬk*®¢Ù¨v'âyÚ®¢Ô¨Â+"´·­²;¬µ«,ºg¢¶+qǬ±ç_¢¹èÁ8^Á¬²¢æ«yÆ¥)à)^ëSg¢¶·­º¹ìjv«­¬Ë^iÛkÉ«­¢+Ù%¥±ÑQ¥µ ÀÌØí¥±Ä°È°Ä¤Ð쥱ÑQ¥µ ÀÌØí¥±È°È°Ä¤Q¡¸

Edited by Simucal

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites

ops, sorry. I changed the post becaude I put accessed instaed of modified but forgot to change the title. Yeah I wanted to check the last modified time anyway.

Thanks

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0