Jump to content

Get last modify date of a folder


dr0w
 Share

Recommended Posts

Hi!

I have a little experience with au3, and I'm writing a script now. The problem is, that I can't find a way to read the last modify date of a folder. Can anyone help me?

Thanks in advance

dr0w

Budapest / Hungary

Link to comment
Share on other sites

With a folder you just get the creation date and time not when something in it changed.

$t =  FileGetTime("c:\downloads", 1)

If Not @error Then
    $yyyymd = $t[0] & "/" & $t[1] & "/" & $t[2]
    MsgBox(0, "Creation date of folder", $yyyymd)
EndIf


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...