IBM Support

How to call a script file using Rational RhapsodyCL

Technote (FAQ)


How do you call a script file using RhapsodyCL in IBM Rational Rhapsody?


You would like to run some commands through scripting with RhapsodyCL using Rational Rhapsody


In order to Invoke a script file, follow the steps below:

  1. Create a script file with RhapsodyCL commands and save it with a .txt extension
    Attached is a sample Script file named (Script.txt)

  2. Open command prompt and navigate to the Rhapsody installation directory.

  3. Run the following command:

    RhapsodyCL.exe -f <script location>\script.txt


All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


Document information

More support for: Rational Rhapsody
General Information

Software version:, 8.0

Operating system(s): Windows

Reference #: 1632161

Modified date: 26 March 2013