-O mexport option
The -O option can be used with the mexport utility command.
The output (-O) option of the mexport utility command is used to specify, through a parameter, the location or file name, or both, for the exported xml file produced by exporting the map source file. The specified parameter could be the name of the directory where the exported xml file is written, the full file path specification in which a wildcard can be used to represent the exported xml file, or the full path in which the complete filename can be specified. The default naming convention for the exported xml file is map_source_file_name.xml. If a wildcard is specified in the full path, for example, mexport mymaps.mms -O C:\MyDev\ExportResults\2002-02-28_*.xml, the resulting xml file is produced in the C:\MyDev\ExportResults directory with the 2002-02-28_mymaps.xml naming convention. If the complete file name is specified, for example, mexport mymaps.mms -O C:\MyDev\ExportResults\MymapsExportedfile.xml, an xml file MymapsExportedfile.xml is produced in the C:\MyDev\ExportResults directory. If the export output (-O) option is selected, and if the file name is not specified, the command line is invalid, and the Not a valid command line - the file name parameter is required if export command option (-O) is selected error message displays on the console.