get canonical filepath
string; filepath, relative or absolute
(optional) string; directory to which relative paths refer
The CanonicalPath(path, directory) command returns an equivalent of the path which is an canonical path, that is, a filepath independent of the value of the current directory in which any symbolic links and the special directories . and .. have been resolved.
The optional argument directory specifies the directory to which path refers, if it is relative. Its default value is the current directory as provided by the currentdir command. The argument directory must itself be an absolute path.
The absolute path /home/maple is returned verbatim.
The FileTools[CanonicalPath] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)