New
#1
TOTAL noob xcopy question ...
Guys I am sorry to have to ask this but I can't for the life of me recall xcopy commands lol ...
Using the batch file:-
Although the files copy OK (here's xcopy.log)Code:@echo off cls N: cd \ mkdir 1047483660 cd 1047483660 xcopy "\\myserver\myshare\Folder1" /c /f /s /e >> c:\xcopy.log
I want it to make the same folder structure on the destination path instead of dumping all the files into the 'root'Code:\\myserver\myshare\Folder1\File1.avi -> N:\1047483660\File1.avi \\myserver\myshare\Folder1\File2.avi -> N:\1047483660\File2.avi \\myserver\myshare\Folder1\File3.avi -> N:\1047483660\File3.avi
(ie, so xcopy.log reads)
I hope that makes sense, sorry, it's been a Loooooooooooooooooooong day lol!Code:\\myserver\myshare\Folder1\File1.avi -> N:\1047483660\Folder1\File1.avi \\myserver\myshare\Folder1\File2.avi -> N:\1047483660\Folder1\File2.avi \\myserver\myshare\Folder1\File3.avi -> N:\1047483660\Folder1\File3.avi
Thank you for any assistance you can offer me!!
Last edited by badgerfruit; 03 May 2011 at 14:47. Reason: gramtical errors