Returns or sets the default folder from which models or modules are loaded, and from which relative paths for models or modules are interpreted.
When called with no parameters, returns the current model folder with no side effects.
When called with a text parameter «path», sets the current model folder, interpreting the path provided relative to the previous current model folder. It then returns the full absolute path to the new current model folder.
CurrentModelFolder( ) → "C:\Documents And Settings\Linda\My Documents"
CurrentModelFolder("C:\Models") → "C:\Models"
CurrentModelFolder( ) → "C:\Models"
CurrentModelFolder("Active") → "C:\Models\Active"
Select File → Add Module.... File dialog opens in
CurrentModelFolder("..\Old") → "C:\Models\Old"
CurrentModelFolder("[My Documents]") → "C:\Documents And Settings\Linda\My Documents"
[My Documents]. When you load a model, it is set to the directory containing the model, and modules with relative path names are loaded relative to that location.
You can change the default start directory by setting a registry setting. Use RegEdit, navigate to the folder
HKCU/Software/Lumina Decision Systems/Analytica
and create a string value named
InitialDir, set to the full file path of the starting directory.