jimmyeric 当前离线
列兵
@echo off for %%i in (*.txt) do ( (for /f "delims=" %%a in (%%i) do ( set /p=%%a<nul set /a "n+=1, 1/(n%%2)" 2>nul || echo, ))>temp.txt move temp.txt %%i set /a n-=1 )复制代码
TOP