How To use an Add-on INI-file
All Magic Windows versions
It is possible to add INI-settings to any standard INI-file.
This can be done by adding a pointer to the Add-on INI-fle in the commandline.
(This is one command line, or the "Target" of a Windows Shortcut.)
V:\PCIL9\Magic94\MGgenw.exe /ini=v:\pcil9\bin\ini\develop.ini
@v:\pcil9\bin\ini\ComponentsORA.ini /User=frank /startapplication=3
Here you can see that we start the program MGGENW.exe with the INI-file develop.ini but as we have some special settings we use an add-on INI-file called ComponentsORA.ini
The Add-on INI-file can be "added" using the @-sign. On XP you will have to use a slash in front of the @-sign, for example: /@v:\pcil9\bin\ini\ComponentsORA.ini.
The add-on INI-file has a slightly different structure as the normal INI-file.
- you have to place the INI-file section before every item.
- you have to place an * after the equalsign (best practice)
OR
- every backslash has to be doubled
Example add-on INI-file:
[MAGIC_DATABASES]DEFDATA = 14, , , , ORAMULT, , DEFDATA, DEFDATA, NoMagicRecordLock, +
DontChangeFileInToolkit, CheckDefinition, NoCheckKey, NoFileLocks, , , , +
NoCheckExist, 0, , NoXATrans, NoAS400SrvrSort,
[MAGIC_ENV]ISAMTransaction = Y
[MAGIC_LOGICAL_NAMES]CITRIX = C:\\PCIL9\\BIN\\
[MAGIC_LOGICAL_NAMES]MODELFILESMFF = %CITRIX% %MCF%Components\\MODELFILES\\
Frank Van Herreweghe
Category
CategoryHowTo
There are 3 comments on this page. [Display comments]