Menu

#18 'custom' zip/unzip?

v1.0 (example)
open
nobody
None
5
2022-09-20
2022-09-20
miskox
No

Windows XP and Windows 10 (32 bit both).

I have a request if anyone could do it in like five minutes:

Currently I use:

zip.exe (file size is 141872 bytes):
Copyright (c) 1990-2006 Info-ZIP - Type 'zip "-L"' for software license.
Zip 2.32 (June 19th 2006).

unzip.exe (159744 bytes):
UnZip 5.50 of 17 February 2002, by Info-ZIP.

In my .cmd I use these commands:

zip.exe -r -9 -q -X -m zipfile.zip folder1 folder2
zip.exe    -9 -q -X -P zippassword zipfile.zip file1 file2 file3

and

unzip.exe -qq -t -P zippassword %local_filename% >nul 2>nul
unzip.exe -Z -1 %local_filename% >unzip.tmp

I would like to have a 32-bit zip.exe and unzip.exe (if this could be in one .exe it would be even better) that would just supoort these switches I use. Strong compression is not a must (I compress few Mega bytes of data).

Can anyone be so kind if this is doable in a few minutes? (of course I understand if there are switches that are dependent to each other they cannot be removed).

Why I need these two files as small as possible? They are embedded in the .cmd (.bat) itself (they get extracted from batch file) so to minimize the .cmd/.bat file size it would be great to have them as small in size as possible.

Another idea for a next project: make a 'wizard' that would generate zip.exe and unzip.exe based on switches user selects.

(I would do this if I would have enough knowledge)

Thank you very much.

Discussion


Log in to post a comment.