批处理指令如何做到把一个文件夹内的所有文件包括文件夹同时复制到多个磁盘里?

2025-01-06 21:28:50
推荐回答(1个)
回答1:

@echo off
echo xcopy /e /h /y "C:\Users\zhuzhu5241\Desktop\4G2013" "e:\" >>1.bat
echo xcopy /e /h /y "C:\Users\zhuzhu5241\Desktop\4G2013" "z:\" >>2.bat

start "" "1.bat" & "2.bat"
del 1.bat & 2.bat