bxb1816 当前离线
一级士官
hanyeguxing (寒夜孤星)当前离线
荣誉版主
@echo off set "r=HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib" for %%a in (Counter Help) do call:a %%a del /q $tmp$&exit :a reg query "%r%\004" /v %1 >$tmp$ fr $tmp$ -ric:\\0 -t:\r\n setlocal enabledelayedexpansion for /f "skip=5 delims=" %%a in ($tmp$) do set/a n+=1&set a_!n!=%%a&if !n!==2 set n=0 set/a n+=1 reg add "%r%" /v "Last %1" /d "!a_%n%!" /t REG_DWORD /f>nul Endlocal复制代码
TOP