@echo off
for /f tokens^=1^,2^,3delims^=^"^, %%i in (代码.bat) do (
echo;%%i %%j %%k
)
pause
代码.BAT的内容
"set primitive=G:\切片\10mm\10半_01.jpg
set destination=G:\已分拣切片\10\10半_01_
set time=1
for /l %%i in (1, 1, %time%) do copy /y %primitive% %destination%%%i.jpg"
"set primitive=G:\切片\10mm\10老_05.jpg
set destination=G:\已分拣切片\10\10老_05_
set time=1
for /l %%i in (1, 1, %time%) do copy /y %primitive% %destination%%%i.jpg"
pause作者: yakeyun 时间: 2022-4-26 14:46