c755731262 当前离线
二级士官
TOP
@echo off&color f0 set /a m=n=0 for /f "tokens=1,2 delims==" %%i in (s.txt) do ( if "%%i"=="120*80*4000" set /a m+=%%j if "%%i"=="60*80*3000" set /a n+=%%j ) echo 120*80*4000=%m%>b.txt echo 60*80*3000=%n%>>b.txt复制代码