Reputation: 561
I'm trying to copy a number of files from a directory. I want to include the file path from the base of this particular directory tree, however, I only have a list of the file names to go by. Is there a way to copy either:
Each file in the directory has a unique name.
I've looked all over google, but the closest I've found is xcopy, which I don't believe is capable of this.
Thanks!
Upvotes: 0
Views: 205
Reputation: 354406
For the second option you can use xcopy /s
or robocopy /s
. Both are great tools for this kind of job.
Upvotes: 1