Product Home
DTM Migration Kit Online Documentation
General information
Product profile
User interface
Quick start
Transformation rules
Scheduling
How to...
Settings
Data preview
Command line
Console mode
Project properties
Rules
Data source
Clear object
Mapping
Data Type Mapping
Execution control
Export options
Source type
Import options
Schema migration
Rule information
Source object
Target table
Send e-mail rule
SQL files
Records Mode
Additionals
Database utilities
Installation
Uninstal
License
How to order
Technical support
Glossary

Command line options

DTM Migration Kit supports following command line switches:

-r - if present, run current project at the program startup

-s - skip Welcome screen

-q - quit application after the project execution

-p - switch Performance Mode on

-l<file> - custom ERROR.LOG file

-c - console mode. You must specify the project name in command line.

Also you can use project name as a command line parameter.

Example: MK.EXE -s -r "d:\My Migration Projects\ExportTasks.mkp"

Return codes

The program returns a few error codes in console mode:

  • not 0 - project execution error(s) found
  • 0 - project executed successfully

How to use return codes? The user can use ERRORLEVEL environment variable in bacth file after the program execution. ECHO.%ERRORLEVEL% line shows retun code and IF ERRORLEVEL can be used for execution branching.