@echo off
:: 每6行拼接为一行,剩余的不够6行的显示在最后一行
::
::
set num=0
setlocal enabledelayedexpansion
for /f "delims=" %%i in (a.txt) do (
set /a num+=1
set str=!str! %%i
if !num! equ 6 echo !str! && set num=0 & set str=
)
if not "%str%"=="" echo %str%
pause

2023-02-27
0万阅读

2023-02-27
0万阅读

2023-02-13
18万阅读

2023-02-12
13万阅读

2023-02-12
7万阅读
2023-02-10
5万阅读

2023-01-19
4万阅读

2023-01-17
3万阅读

2023-01-14
3万阅读

2023-01-04
4万阅读

2023-02-27
0万阅读

2023-02-27
0万阅读

2023-02-13
18万阅读

2023-02-12
13万阅读

2023-02-12
7万阅读
2023-02-10
5万阅读

2023-01-19
4万阅读

2023-01-17
3万阅读

2023-01-14
3万阅读

2023-01-04
4万阅读