Run Tool

Import Command Line Parameter Step

The Run Tool has the capability to import command line parameters to the project user settings at runtime, when you start your Run Tool project from the command line.

Add Step

To add the step to your Run Tool Project click onto the Add Step button and select Import Command Line Parameter from the list. Enter in a name for the step and click OK.

Command Line Parameter Step

Configuration

This will then open the configuration window. Enter in the required parameters and click OK to add the step.

Configuration

Setting Description
Parameter Name The name of the parameter being passed to the project.
Error if Value is Empty Uncheck the checkbox if you do not want the step to fail if the value is empty.

The step will then be added to the bottom of your project, move this to where you need it to be, set the run condition and save the project.

Using the Step

To use the step you will need to start the project from the command line and enter in your property at the same time.

The Run Tool supports any of the following options to set the properties: -p:, /p:, -property: or /property:

Your script to start the project and set a property could look similar to:

 C:\Program Files\Simego\Data Synchronisation Studio 3.0\Simego.DataSync.Run.exe "project.dsrun" -e -p:value=myvalue