tsyz22 当前离线
列兵
hlzj88 当前离线
少校
@echo off for /f "delims=" %%i in ('dir /b /s "a\*.txt"') do copy "a\%%~nxi" c\&&type b\a.txt>>c\%%~nxi复制代码
TOP
qixiaobin0715 当前在线
大校
@echo off md C for %%a in (A\*.txt) do ( (type "%%a" type B\a.txt)>"C\%%~nxa" ) pause复制代码