nai 当前离线
上等兵
nnszuo 当前离线
findstr /n "c.txt" a.txt pause 复制代码
TOP
@echo off for /f "delims=" %%a in (a.txt) do ( for /f "delims=" %%i in ('type b.txt^|find "%%~nxa"') do ( xcopy "%%~dpnxa" "%%~dpi" /y ) ) pause复制代码
xxpinqz (YiFeng)当前离线
中校
@echo off&setlocal enabledelayedexpansion (for /f "delims=" %%a in (a.txt) do ( set/p dst= echo F|xcopy "%%a" "!dst!" ))<b.txt>nul复制代码