Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

The StarTeam Command Line Engine

The StarTeam Command Line Engine

The StarTeam Command Line Engine comprises over 50 commands which may be driven through

  a) the stcmd.exe executable on Windows or stcmd shell script on Linux Platforms,

  b) the stcmdex.jar on Windows, Linux or Mac platforms, 

  c) the CommandProcessor class in the SDK.


stcmdex.jar provides an execution environment for stateless commands, i.e. commands which take -p or -s parameters.

At it's simplest, it is invoked in the context of the Java JRE runtime executable java,exe.

for example, \pathToJRE\java.exe -jar stcmdEx.jar describe -s "user:password@host:port"

stcmd.exe executes stateful commands in an interactive environment.

i.e. a command sequence starting with a connect, set project/view, command sequence, disconnect.

stcmd does invoke stateless commands by delegating them directly to stcmdEx.

The SDK hosts the CommandProcessor class, the Command Line Engine.

Java or C# developers may directly execute commands through Command Processor, for example

new CommandProcessor().execute("stateless or stateful command");


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Version history
Revision #:
1 of 1
Last update:
‎2016-09-26 17:02
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.