I need to convert Microsoft Office Word .doc files into the new format (.docx) of Office 2007. I need it to be done via the command line since it's an application where people upload .doc files, and I want them automatically to be converted to .docx.

I can live with a link to a downloadable .exe file if you can provide one, and C++ code will be even better.

link|improve this question

62% accept rate
1  
never heard of this use case before... usually it's in the other direction :) – warren Apr 8 '10 at 14:41
feedback

2 Answers

This article http://www.labnol.org/software/bulk-convert-office-documents-in-2007-format/4291/ describes a method using tools downloadable from Microsoft

link|improve this answer
feedback

If you want something like code, try the JODConverter Java library.

JODConverter automates all conversions supported by OpenOffice.org, including .doc and .docx files.

I used the library, and it does a good job.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.