Home All Groups Group Topic Archive Search About

how do you compress/zip a directory and all the subfolder/files un

Author
25 Sep 2006 9:31 PM
dotnetnoob
i'm making a function to compress a directory and all the subfolders/files
under it for backup purpose. i can make a copy of directory without any
problem but how do i compress the copyed directory?

thank

Author
26 Sep 2006 12:15 AM
GhostInAK
Hello dotnetnoob,

http://www.icsharpcode.net/OpenSource/SharpZipLib/

-Boo

Show quoteHide quote
> i'm making a function to compress a directory and all the
> subfolders/files under it for backup purpose. i can make a copy of
> directory without any problem but how do i compress the copyed
> directory?
>
> thank
>
Author
26 Sep 2006 12:21 AM
Herfried K. Wagner [MVP]
"dotnetnoob" <dotnetn***@discussions.microsoft.com> schrieb:
> i'm making a function to compress a directory and all the subfolders/files
> under it for backup purpose. i can make a copy of directory without any
> problem but how do i compress the copyed directory?

Compressing files and data
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=compression&lang=en>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>