Use a function that lists 39,709 files in 44 seconds in folders and subfolders, is there another function that lists faster? #include <String.au3>
#include <Array.au3>
global $listing, $timer
$directory = FileSelectFolder("Browse for Folder.", "")
$timer = TimerInit()
list($directory, 0)
time()
Func list($path = "", $counter = 0)
$counter = 0
$path &= '\'
Local $list_files = '', $file, $demand_file = FileFindFirstFile($path & '*')
If $demand_file = -1 Then Return ''
While 1