Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

in our regular work we have 500 to 600 hundred voice files we need to distribute in user so we are doing copy past one one files manually we have list of files copy source and destination. now we need batch files for do our work easy.any can help me..?

batch files script for Copy files from one directory in multiple directories

share|improve this question

migrated from Aug 29 '11 at 7:37

This question came from our site for professional and enthusiast programmers.

What batch language and OS? – Mark Aug 1 '11 at 18:43
what does "distribute in user" mean? – PA. Aug 1 '11 at 22:50

Here's something to get you started. For each entry in a list of files, copy that file somewhere else (in MSDOS batch scripting):

REM Create list of resources to build
ECHO File1.doc > %FILELIST%
ECHO File2.doc >> %FILELIST%
ECHO File3.doc >> %FILELIST%

REM Copy each file
for /F "tokens=1" %%F in (%FILELIST%) do (
  ECHO + Copying %%F
  copy /Y "%%F" %DEST%

Hope that helps :)

Perhaps you may want to read more here.

share|improve this answer

You must log in to answer this question.