Windows – unzip zip files that are contained in a zip file on windows

windowszip

I have a zip file results.zip. It contains two folders that contain a bunch of zip files — PASS/test1.zip, FAIL/test2.zip, FAIL/test3.zip.

On linux it is trivial to unzip these in a couple of steps:

$ unzip results.zip
$ echo FAIL/*.zip PASS/*.zip | xargs -n1 unzip

Some windows users complain that it is cumbersome to unzip all the files on windows. (There are dozens of zips inside the main zip.) Is there a mechanism that would allow them to expand the contents of all of the files at once?

Some customer boxes are newer, but there are many that are still using WinXP.

Best Answer

Give them unzip.exe and a batch script like

unzip results.zip
for %%i in (FAIL\*.zip PASS\*.zip) do unzip %%i
Related Question