; A sorted list of all files and folders in the AutoIt installation #include ; Only required to display the arrays #include $sFilePath = "\\?\u:\" Local $aArray = _FileListToArrayRec($sFilePath,"*",$FLTAR_FILESFOLDERS(0),$FLTAR_FILESFOLDERS,$FLTAR_RECUR(1),$FLTAR_NOSORT(0),$FLTAR_FULLPATH(2)) _ArrayDisplay($aArray, "Sorted tree") Msgbox(0,"",$aArray[1])