I could read a list of files in a folder and then sort the list by date.
But I wondered, is there any way to tell Windows to sort the folder content by date so that Dir$(*.*) gets the files in date order to start with?
I tried it manually, but even with File Explorer showing the files in date order, Dir$() does not return them in the same order as they are displayed in File Explorer.
But I wondered, is there any way to tell Windows to sort the folder content by date so that Dir$(*.*) gets the files in date order to start with?
I tried it manually, but even with File Explorer showing the files in date order, Dir$() does not return them in the same order as they are displayed in File Explorer.
Comment