realpath Returns canonicalized absolute pathname &reftitle.description; stringrealpath stringpath realpath expands all symbolic links and resolves references to '/./', '/../' and extra '/' characters in the input path and return the canonicalized absolute pathname. &reftitle.parameters; path The path being checked. &reftitle.returnvalues; Returns the canonicalized absolute pathname on success. The resulting path will have no symbolic link, '/./' or '/../' components. realpath returns &false; on failure, e.g. if the file does not exist. The running script must have executable permissions on all directories in the hierarchy, otherwise realpath will return &false;. &reftitle.changelog; &Version; &Description; 5.3.0 Prior to this release realpath would not fail on *BSD systems if only the last path component did not exist. &reftitle.examples; <function>realpath</function> example ]]> &example.outputs; <function>realpath</function> on Windows On windows realpath will change unix style paths to windows style. ]]> &example.outputs; &reftitle.seealso; basename dirname pathinfo