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>]
The command shows an error and doesn't convert the file to odt document.
The file should be converted appending the name of oox file with numbers as done in batch conversion command.
>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
Log in to post a comment.