anjohnlee 当前离线
列兵
jian123ch 当前离线
上等兵
@echo off setlocal enabledelayedexpansion (for /f "eol= delims=" %%i in (testbbs1.txt) do ( set strtmp=%%i if "!strtmp:~0,1!"==">" (echo !strtmp!) ))>newtext.txt type newtext.txt复制代码
TOP
xudaweb 当前离线
二级士官
findstr ">gi|" 1.txt >>2.txt复制代码
522235677 (张三)当前离线
少校
findstr ">" 1.txt >new.txt复制代码