jzsgyml 当前离线
五级士官
评分人数
ArdentMan 当前离线
中尉
@Echo Off&SetLocal EnableDelayedExpansion (For /F "Delims=" %%I IN (1.txt) Do ( Set "Str=%%I" Echo !Str:~,1!a!Str:~1! ))>tem Move tem 1.txt Start 1.txt复制代码
TOP
Demon 当前离线
上尉
@echo off setlocal enabledelayedexpansion set column=2 set insert=a set /a n = column - 1 (for /f %%i in (1.txt) do ( set s=%%i echo !s:~0,%n%!%insert%!s:~%n%! )) > 2.txt复制代码
CUer 当前离线
sed "s/^./&a/" 1.txt >2.txt复制代码
Hello123World 当前离线
荣誉版主
@echo off setlocal enabledelayedexpansion (for /f %%i in (1.txt) do (set a=%%i set a=!a:~2! echo 0a!a! ))>2.txt pause>nul复制代码