REM
REM  Ŀģ ʹ robocopy ָĿ¼
REM  ߣ ־Զ
REM  ޸ڣ 202127
REM
REM  
REM    űȫڱдԼļϱļľܽᣬ
REM    ߱ձԣ߲ο
REM

REM ԴĿ¼ͱĿ¼
REM   D:\directoryD:\롢D:\ Ŀ  : ҪݵԴĿ¼
REM   F:\backup                       : Ŀ¼

REM robocopy ѡ
REM   /mir        : Ŀ¼Ϊ Ŀ¼ɾĿ¼ԴĿ¼вڵļĿ¼
REM   /mt[:n]     : ʹ n ߳̽ж̸߳ƣĬֵΪ 8n Ϊ 1ô 128
REM                 磬/mt ʾ 8 ̣߳/mt:4 ʾ 4 ߳
REM Բο https://docs.microsoft.com/zh-cn/windows-server/administration/windows-commands/robocopy
REM ˽ robocopy ĸ÷磬Ҳʹб D õ
REM һЩѡ /R:10 /W:10 /A-:H /XD Config.Msi $RECYCLE.BIN

REM ע
REM   1. űдģҪ ANSI ʽ롣
REM   2. Ŀ¼ڿո񣬱ţ "D:\ Ŀ"

echo " D:\directory  F:\backup\directory"
robocopy D:\directory F:\backup\directory /mir /mt
pause

echo " D:\  F:\backup\"
robocopy D:\ F:\backup\ /mir /mt
pause

echo " D:\ Ŀ  F:\backup\ Ŀ"
robocopy "D:\ Ŀ" "F:\backup\ Ŀ" /mir /mt
pause
