如何通过代码解压缩 [英] How to unzip by code

查看:127
本文介绍了如何通过代码解压缩的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个文件夹,其中包含许多压缩文件.
我想在VB.NET中构建一个Windows应用程序,该应用程序在文件夹内查找并将文件解压缩到我选择的固定目标.

I have a folder than contains an number of zipped files.
I would like to build a Windows application in VB.NET that looks inside the folder and unzips the files to a fixed destination I choose.

推荐答案

问题,没有人阻止您编写所需的程序/代码.

使用 Google [ DotNetZip [
What seems to be the problem, nobody is stopping you writing the program/code you want.

Use Google[^] to get ideas and start coding.
CP has this article DotNetZip[^] which explains how you can add unzip functionality to your application.

Once you have code and run into problems you can always come back here with a more specific question and the community will do its best to help you. Don''t forget to post only the relevant code bits that pose the problem as a code dump is not usually helpful at all in getting someone to help/assist you.

Good luck and happy coding.


尝试
MSDN- [System.IO.Packaging命名空间] [ MSDN- [ZipPackage类] [
Try
MSDN-[System.IO.Packaging Namespace][^]
MSDN-[ZipPackage Class][^]


检查此代码段

使用C#中的GZipStream类解压缩,解压缩,解压缩文件
check this code snippt

Decompress,Extract,Unzip file with GZipStream Class in C#


这篇关于如何通过代码解压缩的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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