Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#61 Using output param dot in shell converter shows error.

open
5
2009-05-06
2009-05-06
No

Using the shell converter to convert the OOX<->ODF files using following command,
>OdfConverter /I testdoc.odt /O .
here "." means the current directory,
since we can provide the /O option parameter a valid directory name.

But if an ODF document with same name as of the OOX document is present in the same directory then the above command shows following errors,
Incorrect or missing conversion parameters: The specified output file "D:\TEST_ODF\trunk\source\Shell\OdfConverter\bin\Debug\test.docx" already exists. Use /F to overwrite existing files.
Usage: OdfConverter.exe /I PathOrFilename [/O PathOrFilename] [/<OPTIONS>]

Actual Result:
The command shows an error and doesn't convert the file to odt document.

Expected Result:
The file should be converted appending the name of oox file with numbers as done in batch conversion command.

Note:
>OdfConverter /batch-odt .
This command is saving the converted documents to the current directory even if file with same name as is present in current folder.

Environment Used are,
OS: Windows XP SP1
R5239-CommandLineTool

Discussion

  • Snapshot of error shown by the shell converter

     
    Attachments