I'm using the titled library from http://dotnetzip.codeplex.com/
I've zipped up a few folders and files zip.AddDirectory(path);
where path is a fully qualified path to the folder I want to zip.
When I extract zip.ExtractAll(AppDomain.CurrentDomain.BaseDirectory + "Zipped");
I get the whole directory hierarchy in the "Zipped" folder.
That is fine if I want to restor files to the original folders, but I have a need to also extract to a user defined folder, and I'd like for just the relative for want of a better word folders to be extracted.
I'm having some trouble finding the explanation I want to say so I'll illustrate with a pic of the archive when I open with 7-Zip.
http://s18.postimg.org/3y71uby7d/Dot_Net_Zip1.jpg
So if the user selects C:\Extracted\ as the target folder I only want the files and folders I see to be extracted to that location without "C:\users\susan\documents\my doc...etc"
I hope you understand, and thank you for reading my question.
I should add that I tried zip.FlattenFoldersOnExtract = true;
but that just extracts all files without any folder structure at all, which is not what I want.