I'd like to batch copy only files, including files in subdirectories, listed in other txt. file.
For example, if I want to copy a whole directory with subdirectories, I do something like this:
for /f %%a ('dir /b/s c:\data') do (
copy %%a c:\bkup
How can I copy only files listed in a txt file?
txt file I mentioned looks like this:
(yeah, only file names, no directory paths.)
Any help will be appreciated.