shuzai 当前离线
上等兵
Hello123World 当前离线
荣誉版主
TOP
applba 当前离线
中校
@echo off For /r /d %%i in (*) do ( Pushd "%%i" copy *.txt "%%i.txt" Popd ) pause复制代码
545810831 当前离线
二级士官
@echo off for /d %%i in (*) do ( for /f "delims=" %%a in ('dir /b /a-d "%%i"') do type "%%i\%%a">>"%%i".txt ) pause复制代码