On Tue, 7 Feb 2012, Jürgen Hestermann wrote:
Reinier Olislagers schrieb:
And while ~ is a relative path,
But ~ is not the only placeholder that will be expanded. Relative paths would
become absolute paths and environment variables will be replaced by their
values too. And I think it's not restricted to Linus/Unix, it happens on
Windows too. So if at all I would list all these possible expansions:
"ExpandFileName expands the filename to an absolute filename. Replaced would
be
-) placeholders (like ~)
-) environment variables (like HOME)
-) relative path would completed to absolute paths
etc.
I will look into improving the documentation. The implementation has been
improved over the years.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal