[fpc-pascal] findfirst wildcards...
pascaldragon at googlemail.com
Thu Dec 4 07:31:22 CET 2014
On 03.12.2014 23:09, Bart wrote:
> On 12/3/14, Ralf Quint <freedos.la at gmail.com> wrote:
>> On 12/3/2014 12:27 PM, Bart wrote:
>>> Windows.FindFirstFile however treats ? as exactly 1 character AFAIK.
>>> And is I'm not mistake this was also the case with TP in the old days.
>> A quick test in a Windows 8.1 command prompt:
> I don't dispute teh way cmd/command treats ? in dir, I merely stated
> that the OS function FindFirstFile des not do it like that.
> (And so we should not change FindFirst/FidNext behaviour.)
Both "dir" and FindFirstFile use the same OS functionality. And the
markers are passed down as is to the filesystem drivers (so in theory
there could be different behavior depending on the type of the
filesystem; anyone tried the Ext2FS driver? ;) ).
More information about the fpc-pascal