bywuyu 当前离线
列兵
BAT-VBS 当前离线
少将
python -c "print open('a.txt').next().split(' ')[2].split('\'')[1]"复制代码
TOP
apang 当前离线
上将
@echo off set /p str=<a.txt for /f "delims=='" %%a in ("%str:*versionCode=%") do echo %%a pause复制代码
@echo off setlocal enabledelayedexpansion for /f "tokens=5 delims== " %%a in (a.txt) do ( set str=%%a set str=!str:'=! goto :next ) :next echo !str! pause复制代码