This project is read-only.

Removing Directories from file path

Apr 22, 2011 at 9:45 PM

I want to zip files the reside in a directory path like \Data\MyFiles\20110422\Filename.xml.  When I zip the file I get the whole directory strucure and the file in the zip file. Is there a way to get the file (Filename.xml) without the directory structure?



Apr 22, 2011 at 11:30 PM

Sorry, got it - was under the gun to it the project completed.  Use AddEntry(FileName.FullPath, "")