On Wed, 2011-02-16 at 18:54 +0100, Tomas Hajny wrote:
> 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?

I used 2.5.1.

Joost.

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

Reply via email to