System.GameDirectory:Str                   (read-only)

Game directory. EMPTY when no game loaded.

The game directory is the directory containing the current game's files.

Version Differences: In PCC 1.x, it is possible to concatenate this property with a file name to access a file in the game directory. This does no longer work in PCC2. Use the MakeFileName function, as in

 Open MakeFileName(System.GameDirectory, "file.txt") For Input As #1

to access files in the game directory.

See also: Global Properties