I have a backup script that backs up files into dated directories, for example 20110322, one for each day, so I have backups from different days. I'm trying to write a batch script that takes just the LATEST folder (i.e. the one that bears the latest date) and copies it to an external drive. When files are sorted by name, the file I want to transfer appears at the end, so presumably this should be quite simple?
Is this possible, and could someone give me some pointers?
Many thanks in advance.