#3677 closed Bug (No Bug)
_FileListToArrayRec()'s 2nd parameter ($sMask) seems case sensitive.
| Reported by: | user4157124 | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | 3.3.14.2 | Severity: | None |
| Keywords: | _FileListToArrayRec() case mask | Cc: |
Description
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 by , 7 years ago
comment:2 by , 7 years ago
| Reporter: | changed from to |
|---|---|
| Resolution: | → No Bug |
| Status: | new → closed |
This UDF is using FileFindFirstFile() which is indicated to be not case sensitive.
Closing as no big for the moment until a replication script and scenario is provide that proves otherwise.
Jos
comment:3 by , 7 years ago
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.

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.