Batch File to Copy Files based on filenames listed in text file.
Posted on 2011-10-27
I have a folder with 2000 jpg image files and a text file that lists out about 900 filenames that I need to have copied over to a destination folder. The text file does not have the path, just the file name.
It seems simple, but I am unfamiliar with what the batch file syntax does. I've seen solutions that use for /F "delims-"%%a and other that use for /f %%a......
Please specify whether the solution should be run in cmd.exe vs creating a .bat file.
I just need something that works.