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 zipped and split two folders with 7zip, so I got to

I renamed them to to, and if I open them now, they only contain a "" file. Upon extracting this file, I get an invalid archive error.

Is there a way to restore the folder structure inside this zip format?

share|improve this question
How could you have "renamed" four files into ten files? – David Schwartz Dec 12 '12 at 15:20
uhh, wow, my bad, editing now.. sorry! – onolio Dec 12 '12 at 15:44

Renaming the files probably broke the links between them. Rename the files back to File.Zip.001 to File.Zip.010. Then unzip and rezip them with the name you want. If you still have the original files, you could also just zip them again with the new name.

share|improve this answer

Renaming the split archive's parts does not corrupt the contents. As long as the parts are sequentially named you should have no problems extracting either.

I just tested this in fact with 7zip. Created a split archive with parts -, which I was able to extract fine. Renamed to - and it extracted fine. Renamed just the last part to best.z05 and on extracting, got a single just as you described. Extracting this archive threw an invalid archive error, again matching your experience.

If you're using Windows and have file extensions hidden (as they are by default), it's easy to have thought you renamed the files properly but you might have ended up with mixed extensions. Renaming all the parts in the exact same recommended format i.e. - should fix this.

share|improve this answer

You must log in to answer this question.

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