如何在7-zip Archive中提取特殊文件? [英] How to Extract special file inside 7-zip Archive?

查看:172
本文介绍了如何在7-zip Archive中提取特殊文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含许多文件的7-Zip文件。如何在不提取整个存档的情况下提取一个特殊文件?



是否可以列出所有文件并选择一个进入C#?



TNX!

I Have a 7-Zip file that contains many files inside. How can I extract one special file inside without extracting the whole archive?

Is it possible to list all the files and choose one to get in C#?

TNX!

推荐答案

你可以提取你想要的任何东西。您可以使用SevenZipSharp,一个7-Zip的.NET包装器:

http:// en。 wikipedia.org/wiki/7-Zip [ ^ ],

http://sevenzipsharp.codeplex.com/ [ ^ ]。



-SA
You can extract whatever you want. You can use SevenZipSharp, a .NET wrapper of 7-Zip:
http://en.wikipedia.org/wiki/7-Zip[^],
http://sevenzipsharp.codeplex.com/[^].

—SA


除了解决方案1:如果您使用.NET 4.5,您可以使用 ZipFile [ ^ ] class ...
In addition to solution 1: If you use .NET 4.5 you may use the build in ZipFile[^] class...


这篇关于如何在7-zip Archive中提取特殊文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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