mexport utility command
The mexport utility command is used to export a map source file from the command line, outside the Map Designer.
The mexport utility command returns 0 if the map export is successful and 1 if it is not successful. It is a batch operation and can also be used for automation.
See "Troubleshooting" for details about capturing and evaluating the return code resulting from running this utility command.