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.