Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 want to do some work on a document.xml file. I created a Word document which gave me the .docx file. I added the .zip extension and when I unarchived it, it become the document folder. In the document.xml, I could find the specific test that I was interested in ediging. I made some changes, closed file. I then archived and removed the .zip extension. Apple Pages wanted to open but both times, I got 'An unkown error occured' as output. Am I doing something wrong or is there some say to rectify?


share|improve this question
Works just fine for me, both in Office 2011 and Pages '09. Which changes have you made, exactly? What are you creating the Word document with? – slhck Apr 17 '12 at 19:30
Did you try unzipping / rezipping without doing any changes? What archive-program do you use for zipping. I know windows built-in zip works... – Mattias Åslund Apr 17 '12 at 20:17
Hmm... I am using a mac and just using the default compression utility on it. Right-click -> 'compress' – timpone Apr 17 '12 at 22:31

This stackoverflow answer might do the trick if you happen to be opening this file up on a mac or linux machine.

The key is making the 'root' of the zip file the folder you unzipped.

From the command line, change directory into the unzipped folder.

cd ./unzippped


zip -r ../rezipped.docx *

to zip it back up.

share|improve this answer

Your Answer


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.