Command Line Options

DTM Schema Comparer supports following command line switches:

-r - if project configured, run comparison process at program startup

-s1* - if project configured, run synchronization primary to secondary schema at program startup

-s2* - if project configured, run synchronization secondary to primary schema at program startup

-q - quit application after project execution

-c* - console mode.

* - switch is available in the professional edition only.

The console mode is a mode when the program doesn't open any dialogs and doesn't need any interference from the user. A project for the console mode must be prepared and tested beforehand. This mode enables you to integrate the product with the Windows task scheduler as well as to execute projects prepared beforehand according to the schedule.

For example, in order to execute a project file today at 11.00, use the following command line:

at 11:00 "scmp.exe -c -s1 d:\project.scmp"

Also, you can use project name as a command line parameter. Please note that you should use quotation for path or filename with spaces:

scmp.exe "D:\Projects And Files\test2testscr.scmp"