Jump to content

Recommended Posts

Posted (edited)

The topic says it all..

i want to know which folder - inside a known folder - was edited last...

How can i manage that?

EDIT:

I know "FileGetTime( )" But i don't know the exact filename...

Edited by jWalker
Posted

I can help get you started:

#include <array.au3>
#include <RecFileListToArray.au3>
$folderSelect = FileSelectFolder("Choose a folder.", "")
$aArray = _RecFileListToArray($folderSelect, "*", 2, 1, 0, 2)
 
Dim $time[$aArray[0]]
 
For $i = 1 to $aArray[0] - 1 Step 1
$t =  FileGetTime($aArray[$i], 1)
$time[$i] = $t[0] & "/" & $t[1] & "/" & $t[2]
Next
 
_ArrayDisplay($time)

And don't forget to download the RecFileListToArray UDF (written by Melba23).

RecFileListToArray.au3

#include <ByteMe.au3>

Posted (edited)

  Quote

No ones got a clue?

A little respect please, don't bump your thread less than 24 hours.

Edit:

sleepydvdr - I would link to the forum message instead of adding to your post, it just stops problems of old code being downloaded if Melba23 updates his UDF.

Edited by guinness

UDF List:

  Reveal hidden contents

Updated: 22/04/2018

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
  • Recently Browsing   0 members

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