sojyjohn Posted April 6, 2010 Share Posted April 6, 2010 This tool helps to find the last modified date of files in a given path. Last 30 Files and date modified will be displayed. Please give suggestions.ModifiedDate.au3 Link to comment Share on other sites More sharing options...
sojyjohn Posted April 6, 2010 Author Share Posted April 6, 2010 The problem is it takes a long time due to the listing of all files in the folder. Please give some suggestions to speed up the listing and also for general coding standards. Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 7, 2010 Share Posted April 7, 2010 As you have found, hard coding nested loops is very limiting. The usual way to recurse through any hierarchical tree is with a recursive function. I saw Melba23 and another user demonstrate that a push/pop stack works well too. Some searching will lead you to better examples. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
sojyjohn Posted April 9, 2010 Author Share Posted April 9, 2010 Thanx @PsaltyDS for the comment. As my first post i'm happy it was noted. I shall include the comments. Link to comment Share on other sites More sharing options...
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