[fpc-pascal] Too tired? Forcedirectories does not seem to work
michael.vancanneyt at wisa.be
michael.vancanneyt at wisa.be
Tue Feb 7 17:43:26 CET 2012
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.
More information about the fpc-pascal
mailing list