[
  {
    "Id": "1056538",
    "ThreadId": "446999",
    "Html": "Hi,<br />\n<br />\nI'm trying to use DotNetZip to zip directories for back-up.  I'm using the following script, based heavily on one I found in the PowerShell examples.<br />\n<br />\n<code>[System.Reflection.Assembly]::LoadFrom('c:\\Users\\Walter\\Documents\\WindowsPowerShell\\Modules\\WalterMetcalf\\DotNetZip\\Ionic.Zip.dll');<br /><br />$directoryToZip = 'c:\\Users\\Walter\\Documents\\';<br />$zipfile =  new-object Ionic.Zip.ZipFile;<br />$e= $zipfile.AddEntry(&quot;Readme.txt&quot;, &quot;This is a zipfile created from within powershell.&quot;);<br />$e= $zipfile.AddDirectory($directoryToZip, &quot;home&quot;);<br />$zipfile.Save(&quot;D:\\ZipFiles-ps1-out.zip&quot;);<br />$zipfile.Dispose();</code>`\nThe script give a &quot;Access denied&quot; exception error on a file called TV_Music.ini, supposedly in a sub-directory which doesn't contain it--UNTiL you turn on &quot;Display Hidden Files&quot; in Windows Explorer!  During my testing I have had the exception occur on other files, which apparently don't exist.<br />\nI'm guessing these files are re-parse items, but turning off (=FALSE) the &quot;WillTraverseReparsePoints&quot; property only make the problem worse.<br />\n<br />\nAny ideas, suggestions?<br />\n<br />\nThanks,<br />\nWalter<br />\n<br />\nP.S. I'm using update 1.9.1.8 of the library; PS 3.0 on Windows 7 SP1<br />\n<br />\nPPS.  I have since (13 June) verified that the files causing the problem are, in fact, RecursePoints.<br />\n",
    "PostedDate": "2013-06-13T13:35:22.94-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]