Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Thread Tools Rate Thread Display Modes
Old 03-20-2019, 12:48 PM
lockedude lockedude is online now
Registered User
Join Date: 09-07-2011
Posts: 10
Enhanced Unzip Files and folder inclusions

Not sure if I am trying something unsupported, found a bug, or am simply clueless...

I have a zip file consisting of various levels of folder and subfolders containing various files. I am trying to extract just a single folder including its subfolders (or not) with the Enhanced Unzip Files action.

Zip File is just a .zip file and Include is '/Folder/*.dll'. Include Subdirectories is checked.

If Use Directories is checked, the destination receives /Folder/*.dll correctly.

If Use Directories is NOT checked, I get 0 files found. I would expect to receive *.dll in the root of the destination folder. Is this incorrect thinking?

Essentially, I want to be able to access a zip and extract folders, files, and a combination of these into a more dynamic destination structure. Maybe the action is just limited and cannot handle this robustness?

I am aware I can unzip everything to a temp folder and access my files in that manner. Just looking to understand the abilities of the Enhanced Unzip action.

v9.7 - Thanks!
Reply With Quote
Old 03-20-2019, 08:43 PM
kinook kinook is online now
Join Date: 03-06-2001
Location: Colorado
Posts: 5,995
Unchecking 'Use directory names' is not compatible with folder inclusion/exclusion, because the extracted filename (which is used for the include/exclude match) doesn't contain a folder in that scenario.

One option would be to unzip all the files (with Use directory names checked), then use the Delete Files action, excluding the files to retain.

Or unzip all the files to a temporary folder, use the Copy Files action to copy with flat copy and advanced folder matching, then delete the unzipped folder.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

All times are GMT -5. The time now is 04:26 PM.

Copyright 1999-2023 Kinook Software, Inc.