[Lazarus] GetAllFilesMask / AllFilesMask

Jürgen Hestermann juergen.hestermann at gmx.de
Wed Apr 24 07:23:45 CEST 2013


Am 2013-04-24 00:48, schrieb Bart:
> Turns out Windows is a bit odd:
>
> Dir *. will show files without extension, but also files like .ext,
> but then not files like .test.ext

If a file starts with a dot, it is *not* considered to separate name and extension on Windows. In this case the dot is part of the name and there is no extension (unless a second dot exists). A file *must* have a name part, only the extension can be omitted (on Windows).





More information about the Lazarus mailing list