举报
Func Find() Dim $str,str1 $str1="服务器名称" $str=FileRead("*.log") if stringinstr($str,$str1) then Msgbox(0+64,"Notice","String exist in this file") Else Msgbox(0+64,"Notice","String not exist in this file") EndIf Endfunc
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-3 04:50 , Processed in 0.080575 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.