Command Line Tool
The MDCMaxCMD utility allows you to generate tables, reports, and export data directly from the command line.
This tool is often installed with MDC-Max and is located in:
C:\Program Files\CIMCO 2025\MDCMax\MDCMaxCMD.exe

Command Line Tool.
Usage
mdcmaxcmd [/table "TABLE_ID (1 - n)" | /report "REPORT_ID (1 - n)"]
[/schedule "SCHEDULE NO (1-n)"]
[/date "DATE AS DD.MM.YYYY"]
[/email "filename"]
[/out "path or/and filename"]
[/xls | /xml | /csv]
[/silent | /show | /open]
| /? | /help
Options
| Option | Description |
|---|---|
/? |
Show help. |
/help |
Show help. |
/tablelist |
List all available tables. |
/reportlist |
List all available reports. |
/table |
Generate a table. Supported outputs: xml, xls. |
/report |
Generate a report. Supported output: html. |
/schedule |
Overwrite the default schedule (only valid with /table). |
/out |
Path and filename for the generated file. |
/date |
Enter date for generated report/table (dd.mm.yyyy). |
/email |
Send generated HTML report to addresses listed in the given plain text file. Each line = one email address. |
/xml |
Output format: XML (table only). |
/xls |
Output format: Excel XLS (table only). |
/csv |
Output format: CSV (table only). |
/silent |
Do not show any messages; close after finishing. |
/show |
Show error messages, file location after finishing. |
/open |
Show error messages, open file after finishing. |
Example
Generate table 1 with schedule 2 for a given date, output as XML, and display the result:
mdcmaxcmd /table "1" /schedule "2" /date "12.3.2013" /out "D:\Test\my_xml_report.xml" /xml /show
Notes
- Tables can be exported to XML, XLS, or CSV.
- Reports can be generated only as HTML.
- The
/scheduleoption overrides the default schedule for a table. - The
/emailoption allows automatic emailing of generated HTML reports.