zs888_ 当前离线
列兵
niudd 当前离线
TOP
老刘1号 当前离线
论坛巡查
'&wscript -e:vbscript "%~0" Text=_ "aa"&vbCrLf&_ "bb"&vbCrLf&_ "cc"&vbCrLf Set RE=New RegExp RE.Pattern="\r\nb":RE.Global=True: MsgBox RE.Replace(Text," ")复制代码
评分人数
taofan712 当前离线
六级士官
@echo off setlocal enabledelayedexpansion for /f "delims=" %%a in (a.txt) do ( set "a=!a!%%a#" set "a=!a:#b= !" ) for %%i in ("!a:#=" "!") do echo;%%~i>>b.txt复制代码
CrLf 当前离线
@echo off setlocal enabledelayedexpansion ( set /p "a=" set /p "b=" echo !a!!b! findstr . )<1.txt pause复制代码