eeemail 当前离线
列兵
Set w = GetObject("winmgmts:") Set p = w.ExecQuery("select * from win32_process where name='lsass.exe' ") For Each i In p msgbox i.processID next复制代码
pcl_test 当前离线
荣誉版主
TOP
评分人数
@echo off for /f "tokens=2delims==" %%a in ('wmic process where "name='notepad.exe'" get processid /value ^|find "="') do set /a n+=1&call set #%%n%%=%%a echo;%#1% echo;%#3% pause复制代码