您需要 登录 才可以下载或查看,没有账号?加入
举报
$File2 = FileRead ( "02.txt") $File3 = FileRead ( "03.txt") $File4 = FileRead ( "04.txt") $File5 = FileRead ( "05.txt") $File6 = FileRead ( "06.txt") $File7 = FileRead ( "07.txt") $File8 = FileRead ( "08.txt") $File9 = FileRead ( "09.txt") $Write = FileWrite("01.txt", $File2 & $File3 & $File4 & $File5 & $File6 & $File7 & $File8 & $File9 & @CRLF) if $Write = "1" Then msgbox (32,"成功","哈哈.so easy") else msgbox (16,"失败","靠靠.so hard")
原帖由 gzygzy 于 2008-11-1 19:57 发表 文件夹里的文件有几百个啊,
For $i = 2 To 500;如果文件名是有规律的排序,这个数改成你最大的那个文件名 If $i < 10 Then $i = '0' & $i $string = FileRead ($i & ".txt") If StringStripCR(StringStripWS($string, 8)) <> '' Then FileWrite("01.txt", @CRLF & $string);如果是没有可见文字的就不向1.txt中写入 Next MsgBox(64,'','完成!',3)
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-5 00:08 , Processed in 0.089226 second(s), 24 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.