用批处理拷贝文件夹:把“wxs-zby”D盘文件夹“kaspersky20230412”拷贝到从"Z001-Z060"D盘
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /L %%G IN (4,1,60) DO (
ECHO Copying folder from computer wxs-zby...
ROBOCOPY \\wxs-zby\d$\"卡巴斯基20230412\" \\computer_name_or_IP_address\c$\Users\%username%\Documents\" "" /MIR /R:3 /W:5 /MT:8 /NP /NDL /NFL /NS /NC /NP
)
ENDLOCAL
PAUSE
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /L %%G IN (4,1,60) DO (
ECHO Copying folder from computer wxs-zby...
ROBOCOPY \\wxs-zby\d$\"卡巴斯基20230412\" \\computer_name_or_IP_address\c$\Users\%username%\Documents\" "" /MIR /R:3 /W:5 /MT:8 /NP /NDL /NFL /NS /NC /NP
)
ENDLOCAL
PAUSE