funkypsiko
asked on
Batch file to copy directories.
I'm trying to set up a batch file for a user that will copy several folders from thier pc to another location on a server. This batch file would be run once a week and any previous information on the server would be overwritten.
I'm having a couple of problems. The first is that i was using the COPY command but it was only copying the files and not the directories. I believe the XCOPY command should sort this out (with some switches). The second is that the naming convention of the files & folders that they need to copy do not follow the DOS naming convention.
Is there a batch/VB script that can do this?
Thanks for you help
Rob
I'm having a couple of problems. The first is that i was using the COPY command but it was only copying the files and not the directories. I believe the XCOPY command should sort this out (with some switches). The second is that the naming convention of the files & folders that they need to copy do not follow the DOS naming convention.
Is there a batch/VB script that can do this?
Thanks for you help
Rob
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
xcopy "c:\program files\tara tatata\*.*" c:\here