举报
$filedir = (@DesktopDir & "" & @MON &"月"& @MDAY & "日.txt") $filew = FileOpen($filedir,10) If $filew = -1 Then MsgBox(8192, "错误", "不能打开文件.") Exit EndIf FileWrite($filew, "第一行" & @CRLF) FileWrite($filew, "第二行" & @CRLF) FileWrite($filew, "第三行") FileClose($filew) $filer = FileOpen($filedir,0) While 1 $line = FileReadLine($filer) If @error = -1 Then ExitLoop MsgBox(8192, "读取的行:", $line) Wend FileClose($filer)
查看全部评分
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-4 06:24 , Processed in 0.082195 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.