233642545 当前离线
列兵
@echo off echo 文件批量复制 md D:\0\1\Placements for /f %%i in (1.txt) do echo f| copy D:\0\0\%%i.BMP D:\0\1\%%i.BMP for /f %%i in (1.txt) do echo f| copy D:\0\0\Placements\%%i.txt D:\0\1\Placements\%%i.txt pause复制代码
idwma 当前离线
少校
TOP
qixiaobin0715 当前离线
大校
@echo off md D:\0\1\Placements setlocal enabledelayedexpansion for /f "delims=" %%i in (1.txt) do ( set "str=%%i" set "str=!str:~1!" copy "!str!.bmp" "D:\0\1\" copy "Placements\!str!.txt" "D:\0\1\Placements\" ) pause复制代码