Zip library is recursive?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Zip library is recursive?

Post by adroege » Thu Sep 23, 2010 1:52 pm

Why does this recursively zip every TXT file on my hard drive?

I would expect it to only zip the TXT files existing on the root of C:

Code: Select all

//Locate ZipLib.DLL
LibLoad>%SCRIPT_DIR%\Ziplib.dll,hZL

//ZIP up some files
LibFunc>hZL,AddFiles,result,c:\new.zip,c:\*.txt,5,0
Thanks.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Fri Sep 24, 2010 2:00 pm

Because that is the way it was written. We could change that. Or make it an option.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts