Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I wish to convert a large number of office files into the newer versions, eg. .doc's to .docx's. I need something for all of the difference MS office application filetypes.

What is the best tool for the job(Windows xp)?

I'm looking for something free (beer), and can manage a large number of files (doing this by manually opening files just isn't viable).

Thanks.

share|improve this question

4 Answers 4

up vote 7 down vote accepted
+100

The answer is structured to convert all documents, not just Word documents.

Say you got tons of Excel sheets, PowerPoint presentations and Word documents on your computer that were written in Office XP or 2003. How do you convert all these files to the new Office 2007 format.

One option is that you open all of them in the associated Office program and manually save them in the newer (docx, xlsx or pptx) format. Or follow these steps and convert all documents in one go.

Step 1: Download Migration Manager kit and extract it into a new folder - say: c:\office.

office-pack

Step 2: Download and install the Office Pack - this step is required even if you have Microsoft Office 2007 already installed on your computer.

Step 3: Assuming that you extracted the Office Manager files in c:\office directory, go c:\office\tools, open ofc.ini using notepad and add the following line.

fldr=c:\users\labnol\documents

This refers to the folder location that holds your office files. I am pointing this to my Documents folder but it could be different on your machine.

Step 4: Open command prompt and go to c:\office\tools. There you’ll see a utility called ofc.exe - this is the Office File Converter that will convert all old Office files to the new 2007 Office document format in bulk. Run.

convert-docs

Immediately all old Office files in that folder (and sub-folders) will get converted to the new format and are saved in a new folder.

This utility works with Word (doc to docx), Access databases, PowerPoint (ppt to pptx), Visio diagrams, Excel (xls to xlsx) and Microsoft Project files. The conversion may however fail for password protected documents.

Taken from here.

share|improve this answer
    
Thanks, exactly what i needed. It's hard to pick an overall best answer to accept but, this gave me the info i needed so...sorry to you other two :( –  Dmatig Sep 2 '09 at 17:24
    
not to worry folks - once I dream up of a tough qn i'll put this reputation points to work, and return it to the SU community. Thanks dmatig! –  caliban Sep 2 '09 at 17:28

The following vba macro will convert all the docs in a selected folder

Sub SaveAllAsDOCX()
Dim strFileName As String
Dim strDocName As String
Dim strPath As String
Dim oDoc As Document

With Dialogs(wdDialogCopyFile)
If .Display <> 0 Then
strPath = .Directory
Else
MsgBox "Cancelled by User"
Exit Sub
End If
End With

If Documents.Count > 0 Then
Documents.Close SaveChanges:=wdPromptToSaveChanges
End If
If Left(strPath, 1) = Chr(34) Then
strPath = Mid(strPath, 2, Len(strPath) - 2)
End If
strFileName = Dir$(strPath & "*.doc")

While Len(strFileName) <> 0
Set oDoc = Documents.Open(strPath & strFileName)

strDocName = ActiveDocument.FullName
intPos = InStrRev(strDocName, ".")
strDocName = Left(strDocName, intPos - 1)
strDocName = strDocName & ".docx"
oDoc.SaveAs FileName:=strDocName, _
FileFormat:=wdFormatDocumentDefault
oDoc.Close SaveChanges:=wdDoNotSaveChanges
strFileName = Dir$()
Wend
End Sub

credit to Graham Mayor - Word MVP

share|improve this answer

Bulk Convert DOC to DOCX

share|improve this answer

I made a batch file for use with Office 2010. It is free, but office isn't. This DOES delete the original file. If you don't want it to, get rid of the second line. Paste the code into a batch file.

for /r "SOME PATH TO TRAVERSE" %%a in ("*.doc") do (
"YOUR PATH MIGHT BE DIFFERENT C:\Program Files\Microsoft Office\Office14\Wordconv.exe" -oics -nme "%%a" "%%ax"
del "%%a"

)

share|improve this answer
1  
This is a poor solution compared to the command line tool that exists by Microsoft. –  Ramhound Dec 10 '12 at 18:32
    
Doesn't require the Office Pack though. –  Matt Lyons Apr 16 '13 at 7:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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