wwwjjjxxx 当前离线
列兵
@echo off>b.txt for /f "delims=" %%i in (a.txt)do set h=%%i&call :x start notepad b.txt&exit :x set h=%h:#=;% call :y %h% :y if "%~1"=="" goto :eof echo.%~1>>b.txt shift&goto y复制代码
评分人数
awk 当前离线
上尉
sed "s/#/\n/g" a.txt >b.txt复制代码
TOP
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%a in (a.txt) do ( set "str=%%a" set str=!str:#=^ ! echo,!str! ))>b.txt复制代码
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%a in (a.txt) do ( set "str=%%a" set str=!str:#=^! echo,!str! ))>b.txt复制代码
@echo off setlocal enabledelayedexpansion (for /f "delims=" %%a in (a.txt) do ( set "str=%%a" set str=!str:#=^ ! echo,!str! ))>b_tmp.txt more b_tmp.txt >b.txt复制代码