At the moment I have a large collection of .odt files and I want to batch convert them to .docx files. I am working on a windows 10 computer. There are several options recommended on the web, almost all from the period 2008-2010 and none seem to work.
Rest of the post is options I tried:
One option is using the commandline and libreoffice. Something like this should work:
soffice --headless --convert-to docx:"MS Word 2007 XML" test.docx
start /wait "" "C:\Program Files (x86)\LibreOffice 5\program\soffice.exe" --headless --convert-to docx --outdir D:\sourcePath\testFile.odt
However both commands and several variations I tried did nothing. No error, no new files, just nothing.
Another recommended option is BatchConv (http://oooconv.free.fr/batchconv/batchconv_en.html), in conjunction with open office. This also did nothing. I opened the file, accepted the macro's on start up, clicked the button, selected the files in the wizard, open office flickered for a while and in the end no files were converted and no error was shown.
Lastly an recommende option was mso2ooo, however this doesn't support docx (only doc).