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


I have a zip file It contains two folders that contain a bunch of zip files — PASS/, FAIL/, FAIL/

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

$ unzip
$ 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

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