You can create your own path variables or override some of the built-in variables using Set Path Variable(). In the following example, the path variable is called root. The variable points to the C:\ directory.
Set Path Variable( "root", "C:\" );
To get the value of the new variable, use Get Path Variable().
Get Path Variable( "root" );
"C:\"
Use your path variable as you would other variables. The following expression opens the myimportdata.txt file in the C:\ directory.
Open( "$root/myimportdata.txt" );
As with getting path variables, omit the dollar sign when setting path variables.