Switches in the command line
Last modified: June 22, 2025
This topic gives detailed description of command line switches and examples of their usage.
You can select the required options while setting the comparison in the Data Population wizard and generate a file with command line arguments by selecting Save settings to a file.
Command line usage
dbforgepostgresql.com [/argfile:path] [/operation_switch] [/switch1[:value | [parameter1:value parameter2:value ..]] /switch2 ..]
The first argument is usually an operation switch that corresponds to the operation that you want to perform with the application.
Available command-line switches
Switch | Usage |
---|---|
/activate |
Activate the product using the activation key. |
/deactivate |
Deactivate the product. |
/generatedata |
Generate data with a given project file. |
/generatedata
Generate data with a given project file.
Parameter | Description |
---|---|
connection |
Specify the connection string: /connection:<connection_string> The example of using the /connection argument is as follows:C:\Program Files\Devart\dbForge Studio for PostgreSQL\dbforgepostgresql.com /generatedata /connection:"User Id=yourusername;Host=server_name;Port=port_number;Database=database_name;Unicode=True;Connection Timeout=15;Integrated Security=False" |
errormode |
Specify the application behavior when an error is encountered: /errormode:<ignore/abort> The example of using the /errormode argument is as follows:C:\Program Files\Devart\dbForge Studio for PostgreSQL\dbforgepostgresql.com /generatedata /errormode:abort |
password |
Specify the server password or override the password specified in the connection string.The example of using the /password argument is as follows:C:\Program Files\Devart\dbForge Studio for PostgreSQL\dbforgepostgresql.com" /generatedata /yourpassword |
projectfile |
Specify a data generation template to use: /projectfile:<path> The example of using the /projectfile argument is as follows:C:\Program Files\Devart\dbForge Studio for PostgreSQL\dbforgepostgresql.com /generatedata /projectfile:"path_to_the_dgen_project_file |
Was this page helpful?
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for PostgreSQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.