Frontier.getFilePath

Syntax Frontier.getFilePath ()

Params None required.

Action Determines the path of the currently open and frontmost object database, which could be Frontier.root or a guest database.

Returns The path to the currently open and frontmost database file.

Examples Frontier.getFilePath () //Frontier.root is in front

   » "C:\\Program Files\\Frontier\\Frontier.root"


Frontier.getFilePath () //DocServer.root is in front

   » "Power HD:Applications:Frontier:Nirvana Server:www:DocServer.root"

Notes You can extract the folder from the path returned by this verb using file.fileFromPath and file.folderFromPath.

To get the path to Frontier.root only, you can also use window.getFile (@root).

See Also Frontier.getProgramPath

file.fileFromPath

file.folderFromPath

window.getFile

Discuss