Opened 10 years ago

Closed 10 years ago

#2650 closed Bug (Fixed)

_FileListToArrayRec returns an extra row in array with number of Files/Folders returned

Reported by: itaushanov@… Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


Simple script:

#include <File.au3>
#include <Array.au3>
$f = "D:\Torrents\DP_WLAN_12.03_NT6\"
$aFileList =_FileListToArrayRec ($f, "*.inf", 1+4+8, 1, 1, 2 )

This returns:
Row|Col 0

Note row 1, it's a duplicate of row 0.

Without sorting ($f, "*.inf", 1+4+8, 1, 0, 2 ) result is fine.

Result of dir /s /b is here:

Contents of DP_WLAN_12.03_NT6 are these two files extracted in it:

Tested with _FileListToArrayRec from the latest beta same result.

Attachments (0)

Change History (5)

comment:1 Changed 10 years ago by Melba23

Using that file structure I can reproduce the problem with, but gives me the correct result as the bug which caused the problem was fixed (by me) in revision 9156.

I have just downloaded the zip and the fix is definitely in place in File.au3 so are you sure that you are actually running


comment:2 Changed 10 years ago by guinness

I am not getting any issue either.

comment:3 Changed 10 years ago by itaushanov@…

You are right, issue seems fixed in

comment:4 Changed 10 years ago by Melba23



comment:5 Changed 10 years ago by Melba23

  • Resolution set to Fixed
  • Status changed from new to closed

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The ticket will remain with no owner.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.