Hello.
I´m trying to obtain a list of all the files in a folder sorted by date.
I have already used the getfilelist but it works by name.
One idea was to use an array to write the name and the date and then sort it, but I can´t find if there´s any command to make it easy.
Thank you very much.
File List sorted by date
Moderators: JRL, Dorian (MJT support)
File List sorted by date
Thank you very much.
I was thinking only in scripts and I forget the old command line and dir.
Thanks again
I was thinking only in scripts and I forget the old command line and dir.
Thanks again
Set RP_WAIT to 1 first so that the script waits for Run Program to finish executing the command:
Set>RP_WAIT=1
Run Program>CMD /c dir C:\*.txt /b /o:d /t:w > C:\Temp\MyDirStatusFile.txt
Set>RP_WAIT=1
Run Program>CMD /c dir C:\*.txt /b /o:d /t:w > C:\Temp\MyDirStatusFile.txt
MJT Net Support
[email protected]
[email protected]