Are you just retrieving from a single folder? #include <Array.au3> ; for testing Global $sDirectory = @WindowsDir, $sStdOut $PID = Run(@ComSpec & ' /c DIR "' & $sDirectory & '" /B /A-D /O-D', "", @SW_HIDE, 2) ; /O-D = newest first, 2 = $STDOUT_CHILD While Not @error $sStdOut &= StdoutRead($PID) WEnd $aStdOut = StringSplit(StringStripWS($sStdOut, 7), @CRLF) _ArrayDisplay($aStdOut) ; for testing You can remove the /B parameter and you'll get dates and file sizes in a