Character
FileLocation contains the path to the folder that contains the current file. This provides an easy method for specifying file locations in functions that require a path, such as the functions in the Jump and File categories. FileLocation uses the following syntax:
"drive:\directory1\directory2\" "C:\Apps\Graphics\"
This example shows how to use the system variable FileLocation to specify the location of a text file:
template := ReadExtFile(FileLocation^"datatemp.txt")
When the Authorware Web Player is running a piece in nontrusting mode, it disables this variable.