Home How can I copy a file with a BATCH script from a folder on one drive to a folder of the same name on another drive?
Reply: 0

# How can I copy a file with a BATCH script from a folder on one drive to a folder of the same name on another drive?

user732
1#
user732 Published in June 20, 2018, 12:04 am
 I'd like to make a Batch script to copy hundreds of files to their proper directories. Having to do this several times I figured a script would be helpful in the future. The only problem is I don't know the filenames or the directories they're in, ok I mean I do, but there's hundreds of them so it's not going to help. Basically, I have the images for the movies in c:\movies in their own folders, but the movies are all in f:\movies in folders of the same name for each movie. I want to get the images and the movies all together again. Example: copy c:\movies\%dir%\%img%.png F:\Movies\%dir%\%img%.png  Thanks in advance for your help!
 You need to login account before you can post.
Processed in 0.472631 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO