Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by Ƭᴇcʜιᴇ007, nhinkle Mar 14 '12 at 4:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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!

share|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

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

A very tricky (but perfectly workable) method is described in this other question:

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

share|improve this answer

Using zip and unzip on the Windows command line

And no, you can't use the 'integrated' Windows ZIP functionality from the commandline.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .