Windows 2003: COPY to ZIP Folder

M

Michael Bednarek

How can I copy a file to a zip compressed Folder from command line?

Not easily. Apparently, it is possible with Visual Basic/Script to open
a ZIP folder and access its files. Too hard for me. If you really want
to, have a look at Eduardo A. Morcillo's CompressedFolder.cls at
<http://www.mvps.org/emorcillo/vb6/shell/xpzip.shtml>.

I haven't found any command line functions to manipulate ZIP files with
built-in tools, except:
rundll32.exe zipfldr.dll,RouteTheCall fubar.ZIP
which will open the ZIP folder in a GUI.

The only way I know to manipulate ZIP files from the command line is to
get WinZip and its command line adjuncts wzzip and wzunzip; then:
wzzip -a fubar.ZIP file.any
will add file.any to the ZIP archive fubar.ZIP

I suppose that DynaZip/InnerMedia, where MS got this feature, may supply
similar tools, as will probably a number of others (PKZIP springs to
mind).
 
M

Matthias Tacke

Michael said:
Not easily. Apparently, it is possible with Visual Basic/Script to open
a ZIP folder and access its files. Too hard for me. If you really want
to, have a look at Eduardo A. Morcillo's CompressedFolder.cls at
<http://www.mvps.org/emorcillo/vb6/shell/xpzip.shtml>.

I haven't found any command line functions to manipulate ZIP files with
built-in tools, except:
rundll32.exe zipfldr.dll,RouteTheCall fubar.ZIP
which will open the ZIP folder in a GUI.

The only way I know to manipulate ZIP files from the command line is to
get WinZip and its command line adjuncts wzzip and wzunzip; then:
wzzip -a fubar.ZIP file.any
will add file.any to the ZIP archive fubar.ZIP

I suppose that DynaZip/InnerMedia, where MS got this feature, may supply
similar tools, as will probably a number of others (PKZIP springs to
mind).
And the respective links for 2 freeware and pkzip (use Dosv2.50) are:
www.info-zip.org
www.7zip.org
www.pkzip.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top