Windows 2003 zip from command line
Solution 1
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!
Solution 2
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?
Solution 3
Using zip and unzip on the Windows command line
And no, you can't use the 'integrated' Windows ZIP functionality from the commandline.
Related videos on Youtube
![user2367](https://i.stack.imgur.com/N46Um.jpg?s=256&g=1)
user2367
Updated on September 17, 2022Comments
-
user2367 almost 2 years
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 almost 15 yearsI'm a fan of 7-zip. Annoying that I need a 3rd party tool to do what Windows can do natively via UI.
-
alex almost 15 yearsIt'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).
-
Dr.jacky over 7 yearsHow to set "version to extract"? Default is 2.0, But I want to set it to 1.0