Sam2022 Posted September 15, 2021 Share Posted September 15, 2021 (edited) If anyone can help me to mention the list of folders in a path according to todays date only meaning that i have a big directory containing a lot of foders and everyday added new 7 folders so i need the name of those folders according to the craetion date of a given date i already searched all items but i did not find list name of all folders according to creation date thanks in advance Edited September 15, 2021 by Sam2022 Link to comment Share on other sites More sharing options...
Musashi Posted September 15, 2021 Share Posted September 15, 2021 Please do not cross-post - at least refer to it ! https://autoit.de/thread/87457-list-folders-by-creation-date/ Sam2022 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
water Posted September 15, 2021 Share Posted September 15, 2021 (edited) How I would do it: Run _FileListToArrayRec or _FileListToArray to get a list of directories in an array For each listed directory in this array grab the creation date (function FileGetTime) write everything to a new array sort this array by creation date Edited September 17, 2021 by water Typo Sam2022 1 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Sam2022 Posted September 17, 2021 Author Share Posted September 17, 2021 On 9/15/2021 at 12:43 PM, water said: How I would do it: Run _FileListToArrayRec or _FileListToArray to get a list of directories in an array For each listed directory in this array grab the creation date (function FileGetTime) write everything to a new array sort this array by creating date Thanks a lot Link to comment Share on other sites More sharing options...
water Posted September 17, 2021 Share Posted September 17, 2021 My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki 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