举报
$FilePath = "D:\检查" $searchFile = FileFindFirstFile($FilePath & "\*.exe") If $searchFile = -1 Then MsgBox(0, "错误", "无任何文件或文件夹与指定的搜索字符串匹配") Exit EndIf While 1 $file = FileFindNextFile($searchFile) If @error Then ExitLoop Run($FilePath & "\" & $file,$FilePath) $T0=TimerInit () While ProcessExists($file) $T1=TimerDiff ( $T0 ) If $T1>5000*60 Then ProcessClose($file) ExitLoop EndIf Sleep(100) WEnd WEnd FileClose($searchFile)
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-2-22 02:07 , Processed in 0.118635 second(s), 19 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.