Hi,
I have a question about robocopy.
I have some backups that I want to copy from one destination to another. I want to be able to specify the file by name, so that it will ONLY copy that specific backup and no other files.
The problem is, the file name will be changing every day, as the date is part of the filename, for example:
MyBackupFile_2005_11_21
So, I need to be able to copy the file based on today's date. How can I build up a string in robocopy using year, month and day from the system in order to specify the correct file?
I guess what I am trying to find out is if this is possible.
Thanks!!
I have a question about robocopy.
I have some backups that I want to copy from one destination to another. I want to be able to specify the file by name, so that it will ONLY copy that specific backup and no other files.
The problem is, the file name will be changing every day, as the date is part of the filename, for example:
MyBackupFile_2005_11_21
So, I need to be able to copy the file based on today's date. How can I build up a string in robocopy using year, month and day from the system in order to specify the correct file?
I guess what I am trying to find out is if this is possible.
Thanks!!