Ionic Zip Library v1.9.1.6
AddDirectoryWillTraverseReparsePoints Property
Indicates whether NTFS Reparse Points, like junctions, should be
traversed during calls to AddDirectory().
Declaration Syntax
Remarks
By default, calls to AddDirectory() will traverse NTFS reparse
points, like mounted volumes, and directory junctions. An example
of a junction is the "My Music" directory in Windows Vista. In some
cases you may not want DotNetZip to traverse those directories. In
that case, set this property to false.
Examples
CopyC#
using (var zip = new ZipFile()) { zip.AddDirectoryWillTraverseReparsePoints = false; zip.AddDirectory(dirToZip,"fodder"); zip.Save(zipFileToCreate); }