if he performs it on a routine he can schedule the task
-thats why I asked the question
if the files are in different locations it doesn't matter Xcopy can copy subfolders and whatever
-you are right, however if they are specific files in varied directories not in the same directory branch then that affects how you write the function call.
if the location varies then he'll have to change the bath file.
-again, thats why I asked the question. you can set up batch files to take input.
I assumed a windows OS because he asked for a batch file, not a script. and batch file work on any windows os
-aah, assumptions. Now we all know where that gets you. Additionally I was looking through my programs to see if I had any windows based utilities for the job and some of them are version specific--that whole scripting lib that changes with the varied versions of windows.
Basically what I am saying is their is no need to post if all you are attempting to do is try to make somebody look stupid. Especially considering that post did not provide any value.