434939575 当前离线
列兵
for %%i in (*.txt) do (type "%%i"&echo,)>"%%~ni.temp" copy *.temp result.txt del /a /q *.temp复制代码
TOP
DAIC 当前离线
中将
@echo off (for /f "delims=" %%i in ('dir /b /a-d *.txt') do ( type "%%i" echo, echo ;;;;;;;;;;;;;;;; ))>"result.txt"复制代码