如何在一个文件中合并多个文件 [英] How to merge multiple files in just one file
问题描述
亲爱的
我想用自己的扩展名创建文件,例如(.abp)
我想合并并合并2个或更多文件.
类似于制作zip文件,但扩展名是我自己没有其他人可以打开该文件.
请帮我怎么做
重要的是,如果执行此操作,那么如何提取已合并到一个文件中的那些文件并读取或使用它们?
假设我要制作一个名为(combined.cmb)的文件,并向其中添加一个word文档文件,一个电子表格文件和一个mp3文件.
然后如何提取这三个文件以读取它们?
Hi dears
I want to create a file with my own extension for e.g (.abp)
and I want to combine and merge 2 or more files to it.
something like making a zip file, but with my own extension that no others can open the file.
please help me how can I do this
and the important part is if I do this, then how can I extract those files that has been combined to one file and read or use them?
suppose that I want to make a file named (combined.cmb) and add one word document file and a spreadsheet file and one mp3 file to it.
and then how can I extract these three files back to read them?
推荐答案
使用此库:
http://dotnetzip.codeplex.com/ [ ^ ]
use this library :
http://dotnetzip.codeplex.com/[^]
这篇关于如何在一个文件中合并多个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!