举报
#include <File.au3> _FindFile(@HomeDrive, 'test.exe') Func _FindFile($sPath, $sFileName) $aFileList = _FileListToArray($sPath) If Not @error Then For $i = 1 To $aFileList[0] If $aFileList[$i] = $sFileName Then $path = $sPath & '\' & $aFileList[$i] FileWriteLine("找到的文件.txt",$sPath & '\' & $aFileList[$i] & "Version:" & FileGetVersion ($path)) EndIf _FindFile($sPath & '\' & $aFileList[$i], $sFileName) Next EndIf EndFunc
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-5-21 07:28 , Processed in 0.184281 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.