Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
1  
never heard of this use case before... usually it's in the other direction :) – warren Apr 8 '10 at 14:41

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

share|improve this answer

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .