How to get the path to the data - @ configfile

xiaoxiao2021-03-06  93

There is a friend asked: How to get the path to the Data directory

Take help: Discover @ConfigFile to get the absolute path of Notes.ini

You can get the absolute path of Lotus / Domino / Data or Lotus / Notes / Data by resolving the path.

In the help:

@Configfile (for R6 or higher)

Returns the file path for the initialization file for Lotus Notes (notes.ini) .Note This function is new with Release 6.Syntax@ConfigFileReturn valuenotes.ini pathString. Returns the file path to the notes.ini initialization file.UsageWhen the formula is Executed on the Notes Client,

IT Returns the filename and path of the notes.ini initialization file for the notes client.

.

If you run on the client, returning is the client's Notes.ini path

If it is in the server, or run through the web, the path is the path to the server's Notes.ini

There is also a method

You can get the path path by the registry, but this method has a problem: if Lotus is installed, you can get, not installed, is it unable to get it,

The best way is to pass @configfile

转载请注明原文地址:https://www.9cbs.com/read-122134.html

New Post(0)