|I need a little help getting robocopy to work with the FOR command.|
Here is my original code using xcopy. (Using Test.bmp for test purpose in this example)
FOR /R E:\ %%V IN ("Test.b*p") DO xcopy "%%V" E:\
The above code does exacly what I want, scan multiple folders and subs for a specific file.
I want to use Robocopy so the user can see the progress of the transfer and use the other features that xcopy does not have.
Can someone help me to convert this to something that will work with Robocopy?
I know that FOR /R E:\ %%V IN ("Test.b*p") DO robocopy "%%V" E:\ will not work because %%V is the entire path + file name and robocopy what those seperate.
Any help will be great.