Hello, what I am trying to do is list the last 10 most recent modified files in a directory. This code will give me the last modified file, but can someone at least talk me through the logic on how to determine the last 10 modified files? Would the best course of action be to loop through the files first, get the most recent date as a control and loop back through them again for the first 10 dates that occur before my control date?
![]()
Please Login or Register to view this content.
Bookmarks