批处理copy 100份文件填充磁盘
@echo off setlocal enabledelayedexpansion set /a sum=0 set /a ii=1 for /l %%i in (1,1,100) do ( echo ---------%%i-------- set /a sum+=!ii! echo f|xcopy D:\bb D:\bb%%i /Y /-Y /R echo !sum! ) pause
时间: 2024-12-21 01:38:23
批处理copy 100份文件填充磁盘
@echo off setlocal enabledelayedexpansion set /a sum=0 set /a ii=1 for /l %%i in (1,1,100) do ( echo ---------%%i-------- set /a sum+=!ii! echo f|xcopy D:\bb D:\bb%%i /Y /-Y /R echo !sum! ) pause