技术频道
chrome.exe
@echo off for /f "tokens=1 delims=" %%# in ('qprocess^|find /i /c /n "chrome"') do ( set number=%%# ) echo number of chromes: %number% pause
或者通过下面的方式直接显示:
tasklist | find /i /c "chrome.exe"