youpa
asked on
DOS Compare File Name
Hello,
Can someone help me,
I’m having 2 files named the same way but having the date stamp and second stamp at the end ( YYYY-MM-DD HH-MM-SS)
Exemple : PDF Flash Color Daily Sales Flash2013-01-08 08.32.41.326.pdf
PDF Flash Color Daily Sales Flash2013-01-08 08.45.41.326.pdf
And I would like to ensure to copy only the most resent one. How can I do that ?
This need to be done in batch.
Thanks a lot
Can someone help me,
I’m having 2 files named the same way but having the date stamp and second stamp at the end ( YYYY-MM-DD HH-MM-SS)
Exemple : PDF Flash Color Daily Sales Flash2013-01-08 08.32.41.326.pdf
PDF Flash Color Daily Sales Flash2013-01-08 08.45.41.326.pdf
And I would like to ensure to copy only the most resent one. How can I do that ?
This need to be done in batch.
Thanks a lot
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window
If the actual time stamps of the files are correct, you could use those, too, by changing "/o:n" to "/o:d" in line 6.