Concordion > Commands > "run" >

Syntax for Relative Paths

Paths are relative to the current location. You can use one or more leading ../ to refer to parent directories.

Examples

Same directory:

Our Current Path Specified Relative Path Resultant Path
/MySpec.html AnotherSpec.html /AnotherSpec.html
/blah/MySpec.html AnotherSpec.html /blah/AnotherSpec.html
/blah/x/MySpec.html AnotherSpec.html /blah/x/AnotherSpec.html

You can also use ./ to mean "the current directory", if you want to be particularly explicit:

Our Current Path Specified Relative Path Resultant Path
/MySpec.html ./AnotherSpec.html /AnotherSpec.html
/blah/MySpec.html ./AnotherSpec.html /blah/AnotherSpec.html
/blah/x/MySpec.html ./AnotherSpec.html /blah/x/AnotherSpec.html

Child directory:

Our Current Path Specified Relative Path Resultant Path
/MySpec.html foo/AnotherSpec.html /foo/AnotherSpec.html
/blah/x/MySpec.html z/AnotherSpec.html /blah/x/z/AnotherSpec.html

Parent or sibling directory:

Our Current Path Specified Relative Path Resultant Path
/blah/docs/Example.html ../Fred.html /blah/Fred.html
/blah/docs/Example.html ../../Fred.html /Fred.html
/blah/docs/work/Example.html ../../Fred.html /blah/Fred.html
/blah/docs/work/Example.html ../Fred.html /blah/docs/Fred.html
/blah/Example.html ../Fred.html /Fred.html
/blah/docs/work/Example.html ../css/Fred.html /blah/docs/css/Fred.html