Re: Create ZIP file on WinXP?

From: Chris Spencer (chrisspencer02_at_yahoo.com)
Date: 09/01/04


Date: 1 Sep 2004 11:09:49 -0700

erewhon@nowhere.com (J French) wrote in message news:<4135986b.9298847@news.btclick.com>...
> On 31 Aug 2004 17:39:36 -0700, chrisspencer02@yahoo.com (Chris
> Spencer) wrote:
>
> >In Windows XP Explorer, I can right-click on a folder and choose "Send
> >To Compressed (zipped) Folder" to create a ZIP file. How can I do
> >this programmatically, through the Win32 API or a batch file? I would
> >prefer to use Windows XP's native support for ZIP files, rather than a
> >third-party component. Thanks.
>
> Personally I would buy in Kevin Boylan's KPZip (well I did)
>
> What happens if your clients get cold feet about XP and upgrade to 2K?

That will never happen, as this particular product is designed for and
runs on WinXP only.

I searched around some more, and found this question has been asked
many times but never answered. For the benefit of those who follow...

I may instead use the free "Zip" command-line program from
http://www.info-zip.org/pub/infozip/Zip.html , and run it in a hidden
console window, using CreateProcess() and WaitForSingleObject().



Relevant Pages