Zip Files

B

Bill Martin

XP-Home has a built in Zip facility to compress files. Is there some way
to access that from a command line? The Help files only seem to talk about
using it through the GUI interface. Sometimes the old command line is
better if you're trying to automate something.

Thanks.

Bill
 
S

Shenan Stanley

Bill said:
XP-Home has a built in Zip facility to compress files. Is there
some way to access that from a command line? The Help files only
seem to talk about using it through the GUI interface. Sometimes
the old command line is better if you're trying to automate
something.

No - not really.

http://www.msfn.org/board/index.php?act=ST&f=34&t=33979

http://www.annoyances.org/exec/forum/winxp/t1113496890

and

rundll32.exe zipfldr.dll,RouteTheCall nameofzip.zip

Will *open* the file.. But no way I know to use it to compress/decompress
from the command line.
I always just used PKUNZIP for that.
 
S

Stan Brown

Sun, 26 Feb 2006 16:05:36 -0500 from Bill Martin
XP-Home has a built in Zip facility to compress files. Is there some way
to access that from a command line? The Help files only seem to talk about
using it through the GUI interface. Sometimes the old command line is
better if you're trying to automate something.

AFAIK there's nothing to stop you using a regular ZIP and UNZIP
utility even if XP is handling ZIPs. (Obviously you wouldn't try two
different updating methods on the same open ZIP file.)

Winzip has a command-line interface, but I've never used it. The free
ZIP and UNZIP from Info-Zip are excellent, and they're what I use.

http://www.info-zip.org/pub/infozip/
 
P

PopS

Bill Martin said:
XP-Home has a built in Zip facility to compress files. Is
there some way
to access that from a command line? The Help files only seem
to talk about
using it through the GUI interface. Sometimes the old command
line is
better if you're trying to automate something.

Thanks.

Bill

Try running Help and Support searches for
compacting
compress

Someplace in there you'll find a comparison between the two, plus
a pretty good description of how XP handles the zip compression
(or not).

To compress a file is in XP very easy: Just right click,
Properties and select the Advanced Properties button. You can
even designate a folder (or entire drive) to automatically
compress or zip everything/anything that goes on it.
The great thing about the XP 'zip' is that you never had to
unzip them; it's done behind the scenes; you use the files just
as though they weren't zipped. You pay a slight cost in
overhead, but it's very slight.
The cons of using a ZIP utility are that you cannot really use
those zipped files as though they weren't zipped like XP allows.
The upside is a LOT more control over the zipping functions.

Winzip.com has version ten out now, and it runs either from the
command line or windows GUI. There is also a specific add-on
just for command line operations. Very comprehensive. Oh, and
they're both freebies.

HTH

Pop
 
B

Bill Martin

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