#include <file.au3>
#include <array.au3>
Dim $AllFile, $AU3File, $DocFile, $TxtFile, $ExeFile, $direct
$AU3File = _FileListToArray(@ScriptDir, "*.au3", 1)
$DocFile = _FileListToArray(@ScriptDir, "*.doc", 1)
$TxtFile = _FileListToArray(@ScriptDir, "*.txt", 1)
$ExeFile = _FileListToArray(@ScriptDir, "*.exe", 1)
$direct = _FileListToArray(@ScriptDir, "", 2)
$AllFile = _FileListToArray(@ScriptDir)
_ArrayDisplay($AU3File, "AU3文件")
_ArrayDisplay($DocFile, "DOC文件")
_ArrayDisplay($TxtFile, "文本文档")
_ArrayDisplay($ExeFile, "可执行文件")
_ArrayDisplay($direct, "目录")
_ArrayDisplay($AllFile, "所有文件")
|