On Tue, Feb 09, 2010 at 03:41:38PM +0200, Paul van Helden wrote: > > ExpandFileName does exactly that. > > > > > No it doesn't, unless you're assuming your current directory as the base > path. ExtractRelativePath specifically takes a base path as a parameter. > Its inverse should do the same. In a GUI app (at least mine) I don't > care about my current directory.
Moreover, expandfilename afaik walks the filesystem, which is not always good (e.g. whe you are laying out a new dir hierarchy) -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus