getIniFileName(): String;
The getIniFileName method of the Process class returns the full path and file name of the JADE initialization file; for example:
c:\jade\system\jade.ini
The name of the JADE initialization file is returned in the form that it was entered on the command line. If no initialization file name was specified, JADE looks for an initialization file with the name jade.ini in the default location and either finds the file or creates it. The name and full path of that default initialization file is returned with forward slash characters (for example, c:/jade/system/jade.ini).
A method on a specific process instance performs its action on the owning node (that is, a process.
Use the
If you create a shortcut that has the newcopy parameter set to false and you specify a different JADE initialization file from the one with which the process was started, the active JADE initialization file is the one that was specified when the process started up and not the one specified in the newcopy=false shortcut.
Calling the getIniFileName method in the new process enables you to get the name of the initialization file that was used when the process started up.