You can optionally pass a different DMSUser.INI file location to DMS by using the UserIniFolder= parameter in the command line. To pass the parameter, add the UserIniFolder = <new location> command to the execution command line for DMS where <new location> is the new folder location for the DMSUser.INI. For example:
“Z:\Some Server\DMSEnt.EXE” “UserIniFolder=H:\Some Folder\”
The above parameter informs DMS that the DMSUser.INI file is located in H:\Some Folder\. Note that you must surround the entire parameter by double quotes.
The screen example below shows the properties of the DMS shortcut icon on the desktop. The target has been changed to execute the DMSEnt.EXE from the folder C:\DMS\ as specified by the “C:\DMS\DMSEnt.EXE” parameter. The DMSUser.INI file is located in the UserIniFolder J:\DMSPr\. This is specified be the parameter “UserIniFolder =J:\DMSPr\”. Note that both the executable file location and the UserIniFolder parameter have been surrounded by double quotes. The entire target line is "C:\DMS\DMSEnt.exe" "UserIniFolder=J:\DMSPR\".
Using the UserIniFolder parameter you can setup multiple copies of DMS that are independent. This can be done by creating an icon on your desktop for each independent version of DMS and then changing the target line to the DMS executable location and passing the UserIniFolder name in the target line.
For example, let say that there is a server with drive T for testing and a production server drive P. The DMSUser.INI file is in C:\DMSLocal\Test for testing and C:\DMSLocal\Production for production. On both drive T and drive P, DMS is installed in a folder called “DMS”. The target line for the test server would be:
“T:\DMS\DMSEmt.EXE” “UserIniFolder=C:\DMSLocal\Test\“
And for production:
“P:\DMS\DMSEmt.EXE” “UserIniFolder=C:\DMSLocal\Production\“
The DMSUser.INI file in C:\DMSLocal\Test\ would be something like:
[DMSINI]
DMSINIFolder=T:\DMS\Data\
[DMSUser]
DMSUserFolder=C:\DMSLocal\Test\
[Reporting]
DDFFolder=T:\DMS\DDF\
ReportsFolder=T:\DMS\Reports\
[Importing]
ImportFolder=T:\DDMS\Import\
[Exporting]
ExportFolder=T:\DMS\Export\
[Wave]
WaveFolder=T:\DMS\Wave File\
...
The DMSUser.INI file in C:\DMSLocal\Production\ would be something like:
[DMSINI]
DMSINIFolder=P:\DMS\Data\
[DMSUser]
DMSUserFolder=C:\DMSLocal\Production\
[Reporting]
DDFFolder=P:\DMS\DDF\
ReportsFolder=P:\DMS\Reports\
[Importing]
ImportFolder=P:\DMS\Import\
[Exporting]
ExportFolder=P:\DMS\Export\
[Wave]
WaveFolder=P:\DMS\Wave File\
...