Command Line Overview : Setting Environment Variables

Setting Environment Variables

It is possible to set two environment variables to make use of the command line simple:

STM_CLI_FLAGS and STM_USER_CLI_FLAGS

The value of these variables is added to the command invocation statemate.

For example:

By default, in run_stmm.bat,the environment variable STM_CLI_FLAGS is set to:
-appname stm

Therefore, you do not need to supply an appname with every command.

In addition, you can add your own environment setting to some commonly used flags such as tyourown workarea:

setenv STM_USER_CLI_FLAGS "-wa /net/lily/disk1/wa21"