Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: How to zip files from different folder?
Sean
Newbie

Posts: 1
Registered: 1/11/2005
Member Is Offline
posted on 1/11/2005 at 09:50 AM Reply With Quote
How to zip files from different folder?


Does there any possibility to zip files from different folder? I tried to add
Zip.RootDirectory twice, but seems only the last RootDirectory be processed.
View User's Profile View All Posts By User U2U Member
wit
Member

Posts: 23
Registered: 11/19/2004
Member Is Offline
posted on 7/1/2005 at 06:54 PM Reply With Quote

try to use code like follows

Zip.FileList.Add("C:\\somefolder\\folder1\\*.*");
Zip.FileList.Add("C:\\somefolder\\folder2\\*.*");

It will add folder1 and folder2 files to result archive. Zip.RootDirectory property value doesnt matter in this case, so you can leave it empty.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Free Download Free Download
Product Documentation Documentation
Documenation Page
Code Samples
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004