xtfs 发表于 2012-3-17 17:23:43

求个结束ey311.exe随机进程然后删除的源码

进程名一般为ey***.exe(*号为数字)
路径为:\Documents and Settings\Administrator\Local Settings\Temp

netegg 发表于 2012-3-17 17:48:49

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

user3000 发表于 2012-3-17 19:46:59

蛋大的码我这运行不了.
按自己的思维发挥下:#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]
查看完整版本: 求个结束ey311.exe随机进程然后删除的源码