On Wed, 16 Feb 2011 17:34:01 +0100 Joost van der Sluis <joost at cnoc.nl> wrote: > Hi all, > > ExpandFileName('c:\pp') on windows returns the current directory. Is > this 'as designed' or a bug? ('c:\pp' does exist) This returns the current directory: ExpandFileName('') Mattias