如何解压缩vb.net中另一个zip文件中的文件 [英] How to unzip files present inside another zip file in vb.net

查看:77
本文介绍了如何解压缩vb.net中另一个zip文件中的文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含zip文件的文件夹。我想解压它们。解压缩后,我必须找到目录中是否还有其他zip文件。如果找到了,我也要将它们解压缩。 zip文件存在的内在级别是不确定的。如何解压缩子目录中的所有zip文件。

I have a folder containing zip files. I want to unzip them. After unzipping them, I have to find if there are any other zip file found inside the directory. If found, I've to unzip them also. The inner level of the presence of zip files are undetermined. How to unzip all the zip files in sub directories.

推荐答案

解压缩第一个文件后,我假设您使用 filestream ,将内容文件读入 memorystream 。然后,您应该能够使用与 filestream
After unzipping the first file, which I Assume your reading with a filestream, read the content files into memorystreams. You should then be able to use the memory stream just the same as the filestream

这篇关于如何解压缩vb.net中另一个zip文件中的文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆