Robocopy syntax
Posted: 07 Jul 2021 16:58
This is a sample batch file.
This script copies a file from the source with one name and in the destination it is a different name.
copy "c:\users\test\sample.txt" "d:\test\sample july 2021.txt"
Can Robocopy do this, copy file from source with one name and the destination with a different name?
If so, what is the syntax to do this?
Thanks in advance.
This script copies a file from the source with one name and in the destination it is a different name.
copy "c:\users\test\sample.txt" "d:\test\sample july 2021.txt"
Can Robocopy do this, copy file from source with one name and the destination with a different name?
If so, what is the syntax to do this?
Thanks in advance.