What is a Robocopy?
Robocopy, or "Robust File Copy", is a command-line directory replication command. It has been available as part of the Windows Resource Kit starting with Windows NT 4.0, and was introduced as a standard feature of Windows Vista, Windows 7 and Windows Server 2008. The command is robocopy
Sytanx to copy from one location to another location
set source=\\ABCServer\MyFolder
set target=E:\MyFolder
set logfile=D:\Logs\MyfolderCopy.log
set target=E:\MyFolder
set logfile=D:\Logs\MyfolderCopy.log
ROBOCOPY "%source%" "%target%" /COPYALL /S /ZB /V /E /R:1 /W:3 /TEE /NP /XO /LOG:"%logfile%"
Or
ROBOCOPY <Source Path> <Destination Path /COPYALL /S /ZB /V /E /R:1 /W:3 /TEE /NP /XO /LOG: <Log Path>
No comments:
Post a Comment