Configuration problems in OpenBuildings Microstation

I am currently trying to set up OpenBuildings Designer in our office to run via a network.

Vanilla OpenBuildings Designer and Microstation work OK when run from the supplied icons.

However I need to run different setups for different clients and using Workspaces / Worksets is not going to do what I want.

 

To start Microstation I click on a custom icon to run a batch file as shown below:

 

START "" "C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\OpenBuildingsDesigner.exe" ^

-wsBB_DISCIPLINE=MicroStation ^

-ws_USTN_CUSTOM_CONFIGURATION=M:\RIO_MSTN\Configuration\ ^

-wkNOWORKSPACE ^

-wwNOWORKSET

 

The batch file starts OpenBuildings Designer and sets the discipline to Microstation.

So far so good.

The next line sets _USTN_CUSTOM_CONFIGURATION and this is where the problem starts.

When this line of code is in the batchfile I get a DOS text window appearing immediately after

Microstation starts.

This in itself doesn’t worry me because the window is empty, but if I subsequently try to save my Button settings or my Function key menu I get the following line appearing in the text window:

 

 I have all preference variables pointing to the default location on C: so there is no reason for the system not to find them.

My function key and button menu variables are also pointing to the correct locations.

Also when the front page appears there are no previously used files listed.

It is as if there are no preferences being saved,

 

I use a similar process to start OBD (below) and don’t have any of these problems.

 

START "" "C:\Program Files\Bentley\OpenBuildings CONNECT  Edition\OpenBuildingsDesigner\OpenBuildingsDesigner.exe" ^

-ws_USTN_CUSTOM_CONFIGURATION=M:\OBD\Configuration\

 

I have now spent about a week doing all sorts of textual contortions trying  to solve this problem but nothing seems to work.

Am I missing something here?