思想之翼 当前在线
上尉
flyinnet9 当前离线
少尉
@echo off for /f "delims=" %%a in ('dir /a-d /b d:\数据2\*.txt') do ( for /f "delims=" %%b in (%%a) do ( type "d:\数据1\%%~na\%%b.txt" >>"d:\数据3\%%~na_1.txt" ) )复制代码
评分人数
TOP
@echo off for /f "delims=" %%a in ('dir /a-d /b d:\数据2\*.txt') do ( for /f "tokens=1-3 delims= " %%b in (%%a) do ( pushd "d:\数据1\%%~na" copy /b %%b.txt+%%c.txt+%%d.txt "d:\数据3\%%~na_1.txt" popd ) )复制代码