Consider the following:
Source directory with 5000 sub folders, each with hundreds of unique file names
Text file file with 1000 only unique file names - no path
I must copy only the files in the text file (remember no path) from the source while replicating the original path to a new destination drive
What would be an efficient method in powershell or DOS to read from the text file and copy the resulting files into a new source directory retaining the relative path in the destination?