Subject: How to unzip all files except some condition
Date: 2016-09-21 17:50:36
From: Michael Ohm
Source: unzip-files-except-condition

I need to be able to unzip all files from a .zip except, in this case, those files that names begin with ".".  I'm using, any idea how to do this?

I've tried the following...


' open the zip
            ' Extract all files except .* files.
            options.SearchCondition = Not (New NameSearchCondition(".*"))
            'zip.ExtractAll(localPath, options)

            zip.ExtractFiles(localPath, localPath, options)

---------------------------------------------------------------------- Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor who sold you the license and ask for your money back. Back to ComponentPro Q&A Forum Index