I use the code below for detecting desired files:
uses Masks;
begin
if MatchesMask(MyFilename, '*.Exe') then
begin
// Do Something
end;
end;
However, as stated in the official documentation, MatchesMask is case-insensitive.
Is there any case-sensitive way to detect filenames using wildcards? (I'm using Delphi 10.3.3 VCL)