求个结束ey311.exe随机进程然后删除的源码
进程名一般为ey***.exe(*号为数字)路径为:\Documents and Settings\Administrator\Local Settings\Temp Local $list = ProcessList()
local $aProc = _ArrayFindAll($list, 'ey', 0,0,0,1)
for $i in $aProc
if stringinstr(_winapi_getprocessfilename($aProc[$i]), @temp) then
processclose($aProc[$i])
endif
next 蛋大的码我这运行不了.
按自己的思维发挥下:#Include <WinAPIEx.au3>
$pList = ProcessList()
If @error Then Exit
For $i = 1 To $pList
If StringRegExp($pList[$i], 'ey\d+\.exe') Then
If StringRegExp(_WinAPI_GetProcessFileName($pList[$i]), '(?i)Administrator') Then ProcessClose($pList[$i])
EndIf
Next
页:
[1]