Microsoft
Software
Hardware
Network
Question : ROBOCOPY
I am trying to user Robocopy to copy directory structure from
One Server to another Server. I don't want robocopy to copy
NTFS Permission to dest server.
Here is the script
@ECHO OFF
SETLOCAL
SET _source=\\FileServ1\e$\use
rs
SET _dest=\\FileServ2\e$\Backu
pUsers
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%
How do I stop to overight permission on Destionation
Answer : ROBOCOPY
Don't use /copyall and/or /sec. Default to copy is simply DAT: Data, Attributes, Timestamps.
/sec, btw, is completely unnecessary with /copyall, /copyall includes /sec.
SET _what=/B /MIR
Random Solutions
Remote access with no Fixed IP
mr2kserv.exe
VPN over GPRS Problem
Nbtstat and internet problem
How to clone a Novell Netware 5.1 Disk
XP ICS prob
URGENT: Export Email from imap connected Server to Text File
Giga Ethernet crossover cable
Lotus Notes 6.5.4
Where are these Login Scripts located in Windows 2000?