while 1 FileCopy(C:\Test\summary.txt $pth5, D:\Test_backup,9) WEnd
查看全部评分
举报
Func _IsUseIng($hFile) If Not FileExists($hFile) Then Return False $hFile = _WinAPI_CreateFile($hFile, 2,6) If $hFile=0 Then Return True Else _WinAPI_CloseHandle($hFile) Return False EndIf EndFunc ;~ a检测文件是否正被使用 ;~ 返回值:false=未使用 ;~ 返回值:true=使用中
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-5-6 16:25 , Processed in 0.213953 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.