Product Logo

CNS Menu

Dynamic Menus

Functions

CNSMenu_File_GetPath

NameCNSMenu_File_GetPath
Description

You can use this function to return the complete path to a special folder on the local hard drive.

Return TypeText
FormatCNSMenu_File_GetPath ( Type )
Required Parameters
Type
  • "Database" - The Path to the Folder containing the Current Database.
  • "FileMaker" - The Path to the Folder containing the FileMaker or Runtime Application.
  • "Root" - The Root Volume for the System ("/" for Mac and "c:\" for Windows).
  • "System" - The System folder for the System ("/System/" for Mac and "c:\Windows\" for Windows).
  • "Desktop" - The user's Desktop Folder.
  • "Preferences" - The user's Preferences Folder.
  • "Temporary" - The Temporary Folder for storing Temporary files.
  • "Chewable" - Another Temporary Folder for storing Temporary files. On Mac OSX, the contents of this folder are deleted every time the computer is started. On Windows, this path is the same as when using the "Temporary" type.
  • "Applications" - The Folder where Applications are stored ("/Applications/" on Mac and "c:\Program Files\" on Windows).
  • "Documents" - The user's Documents Folder.