spevan 当前离线
列兵
tmplinshi 当前离线
版主
@echo offsetlocal enabledelayedexpansion( set /p str=<a.txt echo,!str! for /f "skip=1 delims=" %%a in (a.txt) do ( set str= set /p str= echo,%%a echo,!str! )) <b.txt >a_b.txt复制代码
TOP
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%a in (a.txt) do ( set str= set /p str= echo,%%a echo,!str! )) <b.txt >a_b.txt复制代码