login about faq

If I have a folder called c:temp that contains a bunch of .txt files that I want to zip, but don't want to zip sub folders that contain .txt files how do I do that?

If I had a sub folder called c:tempbackup that had .txt files too. It zips those too.

asked Aug 13 '12 at 15:46

JimEby's gravatar image


When calling zip.AppendFiles, set the 2nd "recursive" boolean argument to false (0).


answered Aug 14 '12 at 10:25

chilkat's gravatar image

chilkat ♦♦

Thanks worked perfect.

(Aug 14 '12 at 13:48) JimEby
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Aug 13 '12 at 15:46

Seen: 1,314 times

Last updated: Aug 14 '12 at 13:48

powered by OSQA