On 6-2-2012 18:01, Henry Vermaak wrote: > On 06/02/12 16:50, Henry Vermaak wrote: >> >> Your shell expands ~ to your home directory. Your program will have to >> do this manually (i.e. read the "HOME" environment variable). > > Like Ido mentioned, ExpandFileName does this already. Perhaps the > documentation could mention it. > > Henry
Tried to add some remarks using fpdoc editor. svn diff gave a huge list of changes against svn... ForceDirectories: description <p> Note: this function only accepts absolute directories. E.g. on Unix, directories starting with ~ or .. need to be expanded to absolute directories first (e.g. using <link id="ExpandFileName"/>)</p> ExpandFileName: description <p> On Unix/Linux systems, this will also expand directories with ~ (the home directory) to the full, absolute path.</p> Giving up for now... Thanks for all the help, Reinier _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal