找回密码
 加入
搜索
查看: 1181|回复: 1

如何用组数列出指定目录下有多少个子目录

[复制链接]
发表于 2009-9-2 15:33:48 | 显示全部楼层 |阅读模式
本帖最后由 qq342252004 于 2009-9-3 09:04 编辑

如何用组数列出指定目录下有多少个子目录再用MsgBox提示每个子目录的名字
发表于 2009-9-2 16:57:42 | 显示全部楼层
#include <File.au3>
#include <array.au3>
$file = _FileListToArray("C:\KwDownload", "*", 2)
_ArrayDisplay($file)
For $i = 1 To $file[0]
        MsgBox(0, 0, $file[$i])
Next
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-28 01:20 , Processed in 0.070700 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表