Name
CanonizePath -- convert path into canonical format (V9.0)
Synopsis
p$ = CanonizePath(path$)
Function
This function can be used to turn the path specified in path$ into a canonical one. Canonizing a path involves the following operations:

Note that the path passed to CanonizePath() needn't exist. If it doesn't exist, CanonizePath() will try to resolve as many components in the path as possible. Note, however, that CanonizePath() doesn't perform path validation. If you pass a path that is invalid because of syntactical errors, the result is undefined.

Inputs
path$
path to canonize
Results
p$
fully qualified path in the host system's canonical format
Example
Print(CanonizePath("../image.jpg"))
The code above will print the fully qualified path of the file image.jpg.

Show TOC