Technology

Go-to Hacks author Paul Bausch shares another productivity problem he’s solved for himself with a bit of hacking:

Windows doesn’t have a command line utility for compressing files (that I know of), and I had to come up with a way to automate some file transfers today. So I whipped up a tiny Perl script that will zip up a file.

He adds that his hack works well with Windows batch files and will save him a bunch of bandwidth. If Paul’s homegrown fix looks like something you could use too, check out his site for the code.

4 thoughts on “Command Line Zip for Windows

  1. There are two command-line zip/unzips that I use:

    The optional zip/unzip packages you can get from Cygwin (invoke them as c:cygwinbinzip or unzip if you don’t add the Cygwin bin directory to your path)
    The free Info-ZIP

    But I like the Perl solution; once you’ve gone down that road, you can even replace your whole batch file with a Perl script!

  2. I use 7-zip (7-zip.org) it has a fully featured command line that we’ve been using for at least a year on Windows Server 2003 boxes.

Comments are closed.

Tagged