Advertisement
Advertisement
| 01.22.2008 at 03:04PM PST, ID: 23102912 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: |
set batchDest=%2\%username% set appsDir=%2\APPS\ md %batchDest%\LOG rem -------------------------------------------------- rem robocopy commands rem /COPY:DAT copy files with D=data, A=attributes, T=timestamps rem /E copy subdirectories, including empty directories rem /R:1 retry 1 time on a failed copy rem /W:15 wait 15 seconds before retrying the copy rem /TS include source file timestamps in the OUTPUT rem /FP include full path of files in the OUTPUT rem /LOG+: output status to a LOG file, appending to an existing file rem /TEE output to console window as well as a LOG file rem -------------------------------------------------- %appsDir%robocopy.exe %1 %batchDest%\DATA * /COPY:DAT /E /R:1 /W:15 /TS /FP /LOG+:"%batchDest%\LOG\%username%_robocopyLog.txt" /TEE |