L
Ledeker
Gast
Würde das so gehen?
Um zwei Verzeichnisse komplett abzugleichen?
Bei mir kommt nur kurz ein CMD-Fenster, verschwindet und nichts passiert.
@ECHO OFF
SETLOCAL
SET _source=\\PC1\C$\Test
SET _dest=\\PC1\E$\Test
SET _what=/COPYALL /B /SEC /MIR /DCOPY:T
:: /COPYALL :: COPY ALL file info
:: /B :: copy files in Backup mode.
:: /SEC :: copy files with SECurity
:: /MIR :: MIRror a directory tree
:: /DCOPY:T :: copy timestamp of directories
SET _options=/R:1 /W:2 /LOG+:c:\copy.log /V /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%
Um zwei Verzeichnisse komplett abzugleichen?
Bei mir kommt nur kurz ein CMD-Fenster, verschwindet und nichts passiert.