WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: mhall on November 18, 2015, 11:47:39 AM

Title: Restoring Empty directories with zUnzipFiles
Post by: mhall on November 18, 2015, 11:47:39 AM
Hi All,

I'm looking for a way to have the Zip Extender create empty directories found in the ZIP file when unzipping.

I'm zipping with the 'R' option to recurse subdirectories and unzipping with the 'd' option to create the subdirectory structure and that all works great except empty directories and I need those as well.

I see the empty directories in the archive when I inspect it, so they are zipped correctly. Just not re-created on unzipping.

I tested it with a separate ZIP/UNZIP utility but I can't script that one and it recreates the empty subdirectories, so I hope I'm just missing something simple ...

Any suggestions?

~Micheal
Title: Re: Restoring Empty directories with zUnzipFiles
Post by: mhall on November 18, 2015, 12:01:14 PM
OK, nevermind, got it.

I was using an include file mask of *.* rather than just * ...

~m