Batch file to copy files

By Lula.mesfin ·
Some body help me to create batch file which can copy files from a folder one by one into many folders. For example if one folder has 10 files then I have to copy those files (one in each) in each subdirectory of a given directory.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Try Robocopy

by NotSoChiGuy In reply to Batch file to copy files
Collapse -

Batch file to copy files. Read more here..... :)

Please post back if you have any more problems or questions.

Collapse -

Simple enough

by bart777 In reply to Batch file to copy files

Just create a batch file with a copy command for each location.

copy c:\folder\*.* \\server\share\

If you need to you can add switches to assist with the copy. The switches will help you autorespond to overwrite commands and such.

If you need to maintain security on the files you will want to use the Xcopy command with a set of switches. the syntax is the same either way.

Best of luck.

Related Discussions

Related Forums