Arranging the created text files using FILEX in latest first manner

I am generating .txt files in a folder on a sdcard using FILEX. The problem is all the files created have a same timestamp of 01/01/2017. I had to create this files such that the latest file remains at the top of the folder while the oldest goes down automatically. It is same as sorting the folder by date in windows. How can i do it?. Can anyone help

 

Parents Reply
  • What was in the link - the entire source for FileX, or a way of reading each file in the file system and finding the one with the oldest/newest date?

    I have the equivalent of the a linux "ls" command for FileX and the source for it somewhere.  You might find both in the Microsoft GIT repo that contains ThreadX and FileX source.

    But I will look around.

    lc

Children
No Data