I recently needed to automate a compression of files on Windows 2008 R2 that I had been manually doing daily. The compression tool that is built in to Windows doesnât like the command line, apparently, so I downloaded the free 7-Zip file compression tool and itâs associated command line utility and followed the basic steps put forth on this blog: http://www.dotnetperls.com/7-zip-examples to get it up and running.
Next, Iâll set it as a Scheduled Task in Windows to run nightly and have one less manual step to perform. Iâll be posting more automation related things here in the future as this is one key to successful IT.
(As a side note, we always used WinZip and it was great but 7-Zip is being used as a cost-cutting measure. I do not know of any limitations that this switch has caused but Iâm sure there are some.)
Leave a Reply