I have multiple subfolders and would like to copy all the PDF documents that are in the main folder into the subfolders with a bat file.

For e.g. All the files are in "C:\Users\user\Box Sync\Batch" and I want to move them to all the available folders within the same path "C:\Users\ZGGroenewald\Box Sync\Batch\Folderx". The folder names will change constantly and I don't want to have to supply a folder list every time I want to run this operation.

  • And how to determine for each file to what folder it is to be placed in? – Akina Sep 5 '18 at 5:24
  • 1
    Welcome to Super User! Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?. – DavidPostill Sep 5 '18 at 6:47
  • What means "available folders" ? Your question is not clear. – harrymc Sep 5 '18 at 7:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.