Hello,
how to use MicroStationDeveloperShell.bat? I already read the readme file and watched the bentley youtube tutorial but i have no clue how to get it working. Maybe i missed something.
2. The second thing i tried was using the MicroStationDeveloperShell.bat directly with the following command: MicroStationDeveloperShell.bat "E:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\", "E:\Program Files\Bentley\MicroStationCONNECTSDK\"
The only result i get is a repeating error message: The command "E: \ Program" is either misspelled orcould not be found.
Any suggestions what i'm missing?
Thanks
Christian
Hi Cristian,
Christian Jührendt said:how to use MicroStationDeveloperShell.bat?
How to start the batch file and what parameters should be used is documented in the batch itself. Did you read its content?
I recommend to create a link (shortcut) to the batch file and configure (modify) its target properly, so correct parameters will be passed to the batch file.
Mine is:
C:\Windows\System32\cmd.exe /x /k ""C:\Program Files\Bentley\MicroStationCONNECTSDK\MicroStationDeveloperShell.bat" "C:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\" "C:\Program Files\Bentley\MicroStationCONNECTSDK\""
Of course your setting and parameters have to recflect your installation (e.g. that you have SDK installed at E drive).
Christian Jührendt said:The first thing i tried was running the "MicroStation CONNECT Edition SDK" shortcut from the windows start menu as administrator.
Which is expected it does not work because in such case you do not pass any information about your environment using the batch parameters.
Christian Jührendt said:The second thing i tried
Which also cannot work, because you have to start Windows shell and instruct it to start the batch and to pass the arguments to the batch.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thanks for your reply but i have done the things you suggested.
The first point: in the short cut in the windows start menu the parameters are already set like so:
C:\Windows\System32\cmd.exe /x /k ""E:\Program Files\Bentley\MicroStationCONNECTSDK\MicroStationDeveloperShell.bat" "E:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\" "E:\Program Files\Bentley\MicroStationCONNECTSDK\""
The second thing: i need to clarify this a little bit. I started the windows shell (cmd) with administrator rights, changed the path to the sdk path and run the bat file with MicroStationDeveloperShell.bat "E:\Program Files\Bentley\MicroStation CONNECT Edition\MicroStation\" "E:\Program Files\Bentley\MicroStationCONNECTSDK\"
So both times i provided the required information and so i don't know whats wrong. Any further suggestions?
It seems something is not wrong or not "as expected" on your computer. I do not know whether different disk can be an issue and why any "scanning" is done.
Christian Jührendt said: Any further suggestions?
Set echo on in the batch file to receive more information and (optionally) log output to some file. It should helps you to analyze when the shell configuration failes.
Regards,