77七 当前离线
中校
TOP
@echo off cd /d "%~dp0" for /f "useback delims=" %%a in ("1.txt") do ( set str=%%a setlocal enabledelayedexpansion for /f "delims==;" %%b in ("!str:*SESSDATA=!") do ( endlocal echo %%b ) ) pause复制代码
评分人数
@echo off cd /d "%~dp0" set /p str=<"1.txt" set "str=%str:;=&set %" set %str% echo %SESSDATA% pause复制代码
(set "str=%str:;="&set "%") 1>nul复制代码
set "str=|" setlocal enabledelayedexpansion echo !str!复制代码