On Wed, February 16, 2011 17:34, Joost van der Sluis wrote:
Hi Joost,
> ExpandFileName('c:\pp') on windows returns the current directory. Is
> this 'as designed' or a bug? ('c:\pp' does exist)
I've just tried it and cannot reproduce it (2.4.2). I created 'pp' as both
directory and a file, and it always returns 'C:\pp' (btw, the same results
is returned if c:\pp does not exist which is also OK). I also tried
different starting locations but that had no impact either. Did you try
with a different version or can you provide more details?
Tomas
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel