Xcopy to directories with different paths

Closed
mic295 - Jan 23, 2009 at 09:26 AM
 MK - Feb 19, 2009 at 08:11 PM
I have a directory on a flash drive called "forms." I want to create a batch file that will xcopy that directory onto many other computers (one at a time, of course, but I want to automate the process). The "forms" directory exists on all of the other computers already, but with different full paths. All of the paths, however, end with data\forms\*.*, and they are always on the C:\ drive. In some cases the full path is C:\Tib\data\forms, in other cases it is C:\Program Files\Tib\data\forms, and so on. There are about six or seven differents ways it has been installed on the computers.

Can I xcopy from E:\forms to something like *\data\forms\, or is there another way to have the batch file find the right directory first then copy the files within?

Thanks

1 response

Please can you tell me if you found any batch file could resolve your issue (Xcopy to directories with different paths).

I am stuck on the same what you have.

Your update would be higly appreciated
1