-O msdexport option

The -O option can be used with the msdexport utility command.

The output (-O) option of the msdexport 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 system 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 system_source_file_name.xml. If a wildcard is specified in the full path, for example, msdexport mysystem.msd -O C:\MyDev\ExportResults\2003-10-03_*.xml, the resulting xml file is produced in the C:\MyDev\ExportResults directory with the 2003-10-03_mysystem.xml naming convention. If the complete file name is specified, for example, mexport mysystem.mms -O C:\MyDev\ExportResults\MysystemExportedfile.xml, an xml file MysystemExportedfile.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.