Possible Duplicate:
Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

Is there a way to zip a file (or group of files) from the command line using Windows 2003? I'd prefer to use built-in commands if possible.

link|improve this question
feedback

closed as exact duplicate by techie007, nhinkle Mar 14 at 4:14

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

3 Answers

up vote 4 down vote accepted

I'm not sure it's possible to do it from the command line using only built-in commands. But you can use 7-Zip from the command line; the great thing about 7-Zip is that it's free and open-source.

Here's a quick tutorial on using the 7-Zip CLI. Hope this helps you out!

link|improve this answer
I'm a fan of 7-zip. Annoying that I need a 3rd party tool to do what Windows can do natively via UI. – user2367 Sep 5 '09 at 4:30
It's strange indeed. But the Windows zip functionality is not great. It's incredibly slow to archive or unarchive something using the built in tools (from what I remember, it's an order of magnitude slower compared to WinRar or 7-Zip). – alex Sep 5 '09 at 6:24
feedback

using zip and unzip on the windows command line

and no, you can't use the 'integrated' windows zip functionality from the commadline.

link|improve this answer
feedback

Actually, it can be done with built-in windows commands. (Much to my surprise, I had pretty much concluded the same as Molly7244)

Very tricky (but perfectly workable) method described in this other Question here:

Can you zip a file from the command prompt using ONLY Windows' built-in capability to zip files?

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.