[
  {
    "Id": "127061",
    "ThreadId": "38307",
    "Html": "Super Library, I've used it numerous times about 6 months ago. Brain-dead question:&nbsp; in running the code below, the zipped file is appearing under the folder my exe resides in and not under C:\\Test.&nbsp; I have utilities that I used the 1.3 version in from about 6 months ago that run with the zipped output saved to the location in AddFile or AddItem, (as expected) but in any new code I create, the output goes to the location the exe resides under.&nbsp; Checked all obvious stuff in the project and reference settings and made sure the old code was the same as the new:<br>\r\n<br>\r\nZipFile zip = new ZipFile(&quot;Archive.zip&quot;);<br>\r\nzip.AddFile(&quot;C:\\Test\\test.txt&quot;);<br>\r\nzip.Save();<br>\r\n<br>\r\n<br>\r\nAny assistance is appreciated.<br>\r\n<br>\r\nJohn<br>\r\n<br>\r\n",
    "PostedDate": "2008-10-22T16:15:01.86-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "127379",
    "ThreadId": "38307",
    "Html": "<p>I am not clear on the problem you are describing. </p>\r\n<p>The behavior of the library changed since then, particularly around figuring the directory name for entries added to archives.</p>\r\n<p>Using the code you have above, you should get a zip archive called 'Archive.zip' in the current working directory. &nbsp; In that zip file, you will have one entry, named Test/test.txt.&nbsp; <br>\r\n<br>\r\nIs that not what you want? <br>\r\nWhat DO you want?</p>\r\n<p>&nbsp;</p>\r\n",
    "PostedDate": "2008-10-23T17:54:10.19-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "127610",
    "ThreadId": "38307",
    "Html": "Thanks for getting back.  I thought the zip file would be under c:\\test, the folder as stated in the AddFile method in this example, but you are right, it is under the working directory of the application. Which, when one thinks about it, might be the best place to put it.  I'll check the Chm regarding if one can specify the output folder.<br>\r\n<br>Thanks,<br><br>John<br><br>   <br>\r\n<br><div>On Thu, Oct 23, 2008 at 7:54 PM, Cheeso <span dir=ltr>&lt;<a href=\"mailto:notifications@codeplex.com\">notifications@codeplex.com</a>&gt;</span> wrote:<br><blockquote style=\"margin:0pt 0pt 0pt 0.8ex;padding-left:1ex\">\r\n\r\n   <div> <p>From: Cheeso</p> <div><p>I am not clear on the problem you are describing. </p>\r\n<p>The behavior of the library changed since then, particularly around figuring the directory name for entries added to archives.</p>\r\n<p>Using the code you have above, you should get a zip archive called 'Archive.zip' in the current working directory.   In that zip file, you will have one entry, named Test/test.txt.  <br>\r\n<br>\r\nIs that not what you want? <br>\r\nWhat DO you want?</p>\r\n<p> </p>\r\n</div><div> <div> <p>Read the <a href=\"http://www.codeplex.com/DotNetZip/Thread/View.aspx?ThreadId=38307&ANCHOR#Post127379\">full discussion online</a>.</p> <p>To add a post to this discussion, reply to this email (<a href=\"mailto:DotNetZip@discussions.codeplex.com?subject=[DotNetZip:38307]\">DotNetZip@discussions.codeplex.com</a>)</p>\r\n\r\n <p>To start a new discussion for this project, email <a href=\"mailto:DotNetZip@discussions.codeplex.com\">DotNetZip@discussions.codeplex.com</a></p> <p>You are receiving this email because you subscribed to this discussion on CodePlex. You can <a href=\"http://www.codeplex.com/site/discussions/thread/unsubscribe/38307\">unsubscribe</a> on codePlex.com.</p>\r\n\r\n <p>Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at <a href=\"http://codeplex.com\">codeplex.com</a></p> </div> </div></div> </blockquote>\r\n\r\n</div><br>",
    "PostedDate": "2008-10-24T15:48:27.763-07:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]