On 3 jan 2007, at 16:46, Daniël Mantione wrote:
Op Wed, 3 Jan 2007, schreef Henry Vermaak:
There is no getting away that Dos filesystem handling is different
from Unix file handling. On Dos like platforms, a filename with
a same name as a subdirectory can exist in the same directory. In
other
words, it should return false.
I cannot create a file with the same name as a subdir under
Windows XP
on ntfs or fat32...
[snip]
Maybe there's something I'm missing?
No, because in a Dos like filesystem, a direcory abcd will still
allow a
file abcd to be created. In other words, fileexists returns false
so the
file can be created.
As he mentioned above, that does not work for him. It also does not
work for me in MS Dos 6.22 and fat16 (running in an emulator, but I
doubt that changes anything for this sort of stuff):

Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal