Make file Path $(_MakeFilePath)

Hello ,

I have been trying to drag my MDL application forward. I ran into an issue with the path to my Application. I was using the _MakeFilePath symbol and noticed since I had long directory name it was causing an issue. Is there a different symbol which uses the mangled directory names? From looking at the MicroStation Connect examples I believe that the issue was addressed. Any suggestions?

Regards

Peter

Parents
  • Hi Peter,

    spaces etc. are a nightmare for working in a shell.

    Bob  showed me on a DevCon some batch trick: “FOR %%A IN (%1) DO ECHO %%~sA”. You will find variants of this in all the batches for the developer shell.

    Another trick is quoting. But be careful. This is also tricky.

    cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\"

    but

    start C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Professional\Common7\IDE\devenv.exe

    Hopefuly there is a flag or macro in bmake world I do not know about. But we found some simple solution. It is simply forbidden in our company to use spaces etc. in path and name in our source-files.

    Mit freundlichen Grüßen / Best regards
    Volker Hüfner

    |  AB_DATE Engineering  Software   |  ab-date.de  |

Reply
  • Hi Peter,

    spaces etc. are a nightmare for working in a shell.

    Bob  showed me on a DevCon some batch trick: “FOR %%A IN (%1) DO ECHO %%~sA”. You will find variants of this in all the batches for the developer shell.

    Another trick is quoting. But be careful. This is also tricky.

    cd "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\"

    but

    start C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Professional\Common7\IDE\devenv.exe

    Hopefuly there is a flag or macro in bmake world I do not know about. But we found some simple solution. It is simply forbidden in our company to use spaces etc. in path and name in our source-files.

    Mit freundlichen Grüßen / Best regards
    Volker Hüfner

    |  AB_DATE Engineering  Software   |  ab-date.de  |

Children
No Data