Automate data generation from the command line
Last modified: April 3, 2025
You can automate data generation from the command line.
Run data generation from the command line
1. Start Windows Command Prompt (CMD).
Note
To run the Command Line in Windows 10:
From the Desktop Mode
- Move the mouse cursor to the exact lower left corner until the desktop shortcuts menu appears.
- Right-click to see the shortcut menu and than click Run.
From the Charms Bar
- Move your mouse to the upper right corner until the Charms Bar appears.
- Select Apps from the list and type run in the search box.
- Click Run from the search results.
Use Windows + R Shortcut Keys
- In desktop mode, press the Windows + R keys, to show the Run command line.
- In the window that opens, type cmd and press Enter.
2. In the Command Prompt, type a path to the dbforgepostgresql.com file, located in dbForge Studio for PostgreSQL installation folder on your PC, and press SPACEBAR.
3. Type all the arguments (actions you want to run) as follows:
dbforgepostgresql.com /generatedata [/switch1[:value | [parameter1:value parameter2:value ..]] /switch2 ..]
3. Press ENTER to run the process.
Select the corresponding command line switches to perform the required operations:
Argument | Action and Usage |
---|---|
/connection |
Specify a connection string. The command line looks like: /connection:<connection_string> |
/errormode |
Specify the application behavior when an error is encountered. To ignore all errors during the data population, specify: ignore . To cancel the data population if any error occurs, specify: abort . The command line looks like: /errormode:<ignore/abort> |
/password |
Specify a password. It overrides the password specified in the connection string. The command line looks like: /password:<pw> |
/projectfile |
Specify a data generation template to use. Some project options can be overridden by switches. The command line looks like: /projectfile:<path> |
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.