| ROBOCOPY |
| FRED SHIKE posted at Monday, April 20, 2009 3:38 PM |
tring to copy my shared dirve to the d: drive of a diferent serve(valley2) .
Is the following correct ?
ROBOCOPY d: \shared\*.* d:\\valley2\backup /mir /copyall
|
 |
|
|
| |
hi |
| Bill Look replied to FRED SHIKE at Monday, April 20, 2009 9:49 PM |
hi
try this
xcopy w:\folder\*.xls f:\Budget\Data\
w is network mapped drive thank you
|
 |
| |
| ROBOCOPY |
| Venkata K replied to FRED SHIKE at Monday, April 20, 2009 10:11 PM |
Create this as a batch file then run it twice.
@ECHO OFF SETLOCAL SET _source=\\FileServ1\e$\users SET _dest=\\FileServ2\e$\BackupUsers SET _what=/COPYALL /B /SEC /MIR :: /COPYALL :: COPY ALL file info :: /B :: copy files in Backup mode. :: /SEC :: copy files with SECurity :: /MIR :: MIRror a directory tree SET _options=/R:0 /W:0 /LOG:MyLogfile.txt /NFL /NDL :: /R:n :: number of Retries :: /W:n :: Wait time between retries :: /LOG :: Output log file :: /NFL :: No file logging :: /NDL :: No dir logging ROBOCOPY %_source% %_dest% %_what% %_options% |
 |
| |
RE::ROBOCOPY |
| egg egg replied to FRED SHIKE at Monday, April 20, 2009 10:42 PM |
You could use any of the following for performance related issues too taking care of... robocopy \\sharedDRive\shared d:\\valley2\backup /w:30 /r:13
robocopy /mir \\SharedDrive\shared\ d:\\valley2\backup\ /XD dirs $RECYCLE.BIN /XN /XO
In your syntax, i suppose it works if you remove *.*
|
 |
| |
|
|