Click to See Complete Forum and Search --> : Creating zip folder programmatically


stolencoin
July 7th, 2010, 11:56 AM
Hi all

Is there a way (win32 api, shell command to imitate selecting files and sending it to a zip folder, whatever) to create a zip folder and adding files to it, programmatically?

Thanks

Marc G
July 12th, 2010, 03:59 AM
Using .NET, you can use http://msdn.microsoft.com/en-us/library/system.io.compression.gzipstream.aspx
ALso take a look at http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/d3e347cc-f4dc-44a6-8f84-977f958d89c6/