This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to script 'cd' after running cmdsuite.exe?

I am running Arm Dev Studio on Windows and I build our Cortex-M project from the Windows command line.

I setup the environment by running:

cmdsuite.exe


In fact, I do this in Microsoft Terminal by setting the command line to:


C:\Windows\System32\cmd.exe  /c pushd "C:\Program Files\Arm\Development Studio 2022.1\bin" && cmdsuite.exe

I would like the command prompt to land in my project directory.  Appending a 'cd' command to the above does not work.

Any suggestions how to do this please?

Or, to ask the same question in a different way, is it possible to configure Windows' Start Menu's Arm DS2022.1 Command Prompt to start the prompt in a custom location?

Parents
  • You can also set these environment variables, then you can use the arm Development Studio command line tools from any command prompt

    • ARMLMD_LICENSE_FILE=7010@licserv.mycompany.com
    • ARM_PRODUCT_DEF="C:\Program Files\Arm\Development Studio 2022.1\sw\mappings\gold.elmap"

    More information on setting up the environment can be found here:

    https://developer.arm.com/documentation/ka004977/latest

    I would also recommend adding the "C:\Program Files\Arm\Development Studio 2022.1\bin" to your PATH environment variable. You can edit the system environment for Windows under the "System Properties -> Advanced" tab and click on the "Environment Variables" button. 

    Note: The latest version of Development Studio currently is 2022.2. 

Reply
  • You can also set these environment variables, then you can use the arm Development Studio command line tools from any command prompt

    • ARMLMD_LICENSE_FILE=7010@licserv.mycompany.com
    • ARM_PRODUCT_DEF="C:\Program Files\Arm\Development Studio 2022.1\sw\mappings\gold.elmap"

    More information on setting up the environment can be found here:

    https://developer.arm.com/documentation/ka004977/latest

    I would also recommend adding the "C:\Program Files\Arm\Development Studio 2022.1\bin" to your PATH environment variable. You can edit the system environment for Windows under the "System Properties -> Advanced" tab and click on the "Environment Variables" button. 

    Note: The latest version of Development Studio currently is 2022.2. 

Children
No data