<< pwd | Files and folders functions | rmdir >> |
r = relativepath(path_1, path_2) |
a string: file or directory.
a string: file or directory.
a string: relative path.
Returns the relative path from an actual path to the target path.
relativepath(nelsonroot(), [nelsonroot(), '/lgpl-3.0.md'])
relativepath(nelsonroot(), [nelsonroot(), '/etc/finish.m'])
relativepath([nelsonroot(),'/bin'], [nelsonroot(), '/lgpl-3.0.md'])
relativepath('.', '.')
relativepath('.', '..')
relativepath('..', '.')
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET