Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Can the Enhanced Unzip action process multiple files in the same directory? (https://www.kinook.com/Forum/showthread.php?t=5412)

ark014 03-15-2016 10:53 AM

Can the Enhanced Unzip action process multiple files in the same directory?
 
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/Ma...ilesaction.htm

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


All times are GMT -5. The time now is 08:29 PM.


Copyright © 1999-2023 Kinook Software, Inc.