Exporting Schema through Command Line

You can automate schema export process using command line.

Note

The command line functionality is available only in certain editions of dbForge Studio. For the detailed information on features availability in the dbForge Studio editions, please refer to the Editions topic.

To perform schema export from command line:

  1. To open Command Prompt, press Win+R and type cmd in the Open line.

    **Note

    To run the Command Line in Windows 8:

    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 then 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.
  2. Type a path to the dbforgeoracle.com file, located in dbForge Studio for Oracle installation folder on your PC, and press the SPACE bar:

     C:\Users\user>"C:\Program Files\Devart\dbForge Studio for Oracle\dbforgeoracle.com"
    
  3. Specify the operation you want to perform (execute a script):

     /schemaexport /projectfile:"D:\sample.backup"
    
  4. Type all other arguments you need.

    Tip: To see a quick help on the arguments available in the command line, type the following:

     /schemaexport /?
    
  5. Press ENTER to run the process.