How to access windows built in compression utility.

IceAzul

Freshman
Joined
Jun 7, 2005
Messages
43
I am aware of Sharp Zip utility, but does anyone know how to create a zip file using the Compressed Folder utility that Windows uses?
 
I've never tried it, but codeproject has two resources that explain how to hook into the COM library to do this. It looks fairly straightforward.

I know it would be better to post code here, but I'd be ripping off the author's work and don't have time to research myself. Hopefully this will help:

How to Unzip files using built in shell:
http://www.codeproject.com/csharp/decompresswinshellapics.asp

How to zip files using built in shell:
http://www.codeproject.com/csharp/compresswithwinshellapics.asp

-ner
 
Back
Top