@echo off
set /a n=1
for /f "tokens=3 delims== " %%i in ('findstr /i "false" a.xml') do call :Sub %%i
pause
goto :eof
:Sub
echo 第%n%个Name:%~1
set /a n+=1
goto :eof
str = ""
Set oXML = CreateObject("Microsoft.XMLDOM")
oXML.Load "a.xml"
For Each x In oXML.getElementsByTagName("CLIENT")
if Lcase(x.getAttribute("IsCheckMatch")) = "false" Then
str = str & x.getAttribute("NAME") & vbCrLf
end if
Next
WScript.Echo str