The built-in command-line wizard helps you generate command-line syntax based on the options you select. You can save the generated command to a .bat file and use it to schedule or automate data generation tasks.
Open the command-line wizard in one of these ways:


The table provides options available in the command-line wizard.
Tip
To include an option, select its checkbox. To exclude an option, clear its checkbox.
| Name | Description |
|---|---|
| Project File | Specifies a data generation template file (.dgen) to use. To specify the file, click the ellipsis (…) and select the .dgen file. This option is required. Usage: /projectfile:<file_path> |
| Connection | Specifies the connection string. Usage: /connection:<connection_string> |
| Password | Specifies the server password and overrides the values from the /connection switch. Usage: /password:<pw> |
| Error Mode | Specifies the application behavior when encountering an error:
Usage: /errormode:<ignore|abort> |
| Treat Warning as Error | Specifies the behavior of treating warnings:
|
| Echo OFF | Wraps all text in the .bat file within the @Echo OFF ... Echo ON block. |
| Keep opened | Adds the pause command at the end of the .bat file to keep the command window open after execution. |
| PowerShell | Adds the & symbol at the beginning of the .bat file to ensure PowerShell compatibility. |
The text box displays the generated script with the specified options.

To save the settings in the .bat file, click Save.
To close the dialog, click Cancel.
To verify the settings, click Validate.
If the parameter validation succeeds, the following message appears:

If the parameter validation fails the tool displays the error, for example:
