@ConfigFile (Formula Language)

Returns the file path for the initialization file for Notes® (notes.ini).

Note: This function is new with Release 6.

Syntax

@ConfigFile

Return value

notes.ini path

String. Returns the file path to the notes.ini initialization file.

Usage

When the formula is executed on the Notes® client, it returns the filename and path of the notes.ini initialization file for the Notes® client. When the formula is executed on the server or Web server (when accessed in a Web page, for example), it returns the filename and path of the notes.ini initialization file for the server.

Examples

  1. This formula, when added to a computed field on a form and previewed in Notes®, returns: C:\Notes\notes.ini if the current Notes® client was installed in C:\Notes.
    @ConfigFile
  2. This formula, when added as computed text to a page, returns D:\webapp\notes.ini, when the page being previewed by a Web browser resides in a database hosted by the webapp server.
    @ConfigFile