CodeCharge Studio

PathToRoot Run-Time Variable (ColdFusion)

Applies to

Page context

Type

string

Access

read/write

Syntax

<cfset <expression> = PathToRoot>
<cfset PathToRoot=<expression>>

Description

This variable contains a relative path to the root directory of the site from the location of the current page. This property is usually used to reference custom tags and common files generated by CodeCharge Studio in the site's root directory. This includes JavaScript file paths, etc.

See also

PathToCurrentPage variable


On-line, printable versions and updates