jmz573515 当前离线
二级士官
@echo off setlocal enabledelayedexpansion for /f "delims=" %%i in (a.txt) do ( for %%a in (%%i) do ( set var=%%a if "!var:~0,1!" == "b" set var="%%a" if "!var:~-1!" == "b" set var="%%a" set m=!m!,!var! ) echo !m:~1! set m= ) pause复制代码
TOP