1

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.

user2367
  • 133

3 Answers3

4

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!

alex
  • 18,247
3

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?

1

Using zip and unzip on the Windows command line

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