运行一次加一个回车开始-运行-CMD,切换到你那个文件夹输入:@for /f "delims=" %a in ('dir /b/a-d *.txt') do echo.>>"%a"
for /r %%i in (*.txt) do echo.>>%%i
echo.>>test.txt