Method Stdio.append_path()
- Method
append_path
Method append_path_unix
Method append_path_nt
stringappend_path(stringabsolute,string...relative)
stringappend_path_unix(stringabsolute,string...relative)
stringappend_path_nt(stringabsolute,string...relative)- Description
Append
relativepaths to anabsolutepath and remove any"//","../"or"/."to produce a straightforward absolute path as a result."../"is ignorded in the relative paths if it makes the created path begin with something else than the absolute path (or so far created path).append_path_nt() fixes drive letter issues in
relativeby removing the colon separator":"if it exists (k:/fnord appends as k/fnord)append_path_nt() also makes sure that UNC path(s) in
relativeis appended correctly by removing any"\\"or"//"from the beginning.append_path() is equivalent to append_path_unix() on UNIX-like operating systems, and equivalent to append_path_nt() on NT-like operating systems.
- See also