shuzai 当前离线
上等兵
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复制代码
TOP
Hello123World 当前离线
荣誉版主
@echo off For /r /d %%i in (*) do ( Pushd "%%i" copy *.txt "%%i.txt" Popd ) pause复制代码
applba 当前离线
中校