r = relativepath(path_1, path_2)
| Paramètre | Description |
|---|---|
| path_1 | a string: fichier ou répertoire. |
| path_2 | a string: fichier ou répertoire cible. |
| Paramètre | Description |
|---|---|
| r | a string: chemin relatif. |
Renvoie le chemin relatif d'un chemin actuel vers le chemin cible.
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 |