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

JimEby
1111


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

link

answered Aug 14 '12 at 10:25

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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

By RSS:

Answers

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

Tags:

×87

Asked: Aug 13 '12 at 15:46

Seen: 963 times

Last updated: Aug 14 '12 at 13:48

powered by OSQA