PDA

View Full Version : Can the Enhanced Unzip action process multiple files in the same directory?


ark014
03-15-2016, 10:53 AM
Can the VBP "Enhanced Unzip" action process multiple zip files in the same directory?

We are using Visual Build Pro 8.7.

In the "Unzip" tab of the VBP "Enhanced Unzip" action, must the "Zip File:" field refer to one zip file, only?

a) We are successful when we use the "Enhanced Unzip" action to unzip ONE file in the specified directory

"Zip File:" field == %DIRECTORY_PATH_MACRO%\something.zip <- succeeds

b) However we are unable to use the "Enhanced Unzip" action -- with a wild card - to unzip multiple zip files in the specified directory:

"Zip File:" field == %DIRECTORY_PATH_MACRO%\* <-fails
"Zip File:" field == %DIRECTORY_PATH_MACRO%\*.zip <-fails

c) Is there any VBP "Enhanced Unzip" command which could look into the directory shown below, and step through the zip files the directory contains, unzipping each one?

/my_zip_file_directory

Contents of above folder

/my_zip_file_directory/first.zip
/my_zip_file_directory/second.zip
/my_zip_file_directory/third.zip

d) Could the VBP "Enhanced Unzip" action be nested within a VBP "Process Files" action, to allow multiple files in the same folder to be unzipped?

kinook
03-15-2016, 05:41 PM
Yes, put it under a Process Files action.
http://www.kinook.com/VisBuildPro/Manual/processfilesaction.htm

http://kinook.com/VisBuildPro/Manual/recursesample.htm