Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3677 closed Bug (No Bug)

_FileListToArrayRec()'s 2nd parameter ($sMask) seems case sensitive.

Reported by: user4157124 Owned by:
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: _FileListToArrayRec() case mask Cc:


Setting _FileListToArrayRec()'s 2nd parameter ($sMask) to "*.jpeg" omits uppercase matches (*.JPEG), and uppercase mask omits lowercase matches. This is unexpected (Windows file systems do not differentiate case).

Attachments (0)

Change History (3)

comment:1 Changed 5 years ago by BrewManNH

I just ran the example script in the help file, after changing some of the extensions of files to upper case, and it still picked up the upper case files, as well as the lower case ones. I also changed the search parameter to *.EXE on one of the searches, and it still found both upper and lower case file names.
Your bug report is wrong as far as I can see.

comment:2 Changed 5 years ago by Jos

  • Reporter changed from user4157124 to user4157124
  • Resolution set to No Bug
  • Status changed from new to closed

This UDF is using FileFindFirstFile() which is indicated to be not case sensitive.

Closing as no bug for the moment until a replication script and scenario is provide that proves otherwise.


Last edited 5 years ago by Jos (previous) (diff)

comment:3 Changed 5 years ago by user4157124

Client system had _ArrayDisplay() show different results depending on $sMask's case (searching a FAT32 USB flash drive using AutoIt v3.3.14.2 on Windows XP Professional x32 SP3). Will see if I can provide scenario reproducing script.

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.