• 大小: 0.06M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签:

资源简介

批量压缩、解压缩文件实例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using ICSharpCode.SharpZipLib;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Checksums;
using System.IO;
namespace BatchDecompression
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        #region 压缩文件及文件夹
        /// 
        /// 递归压缩文件夹方法
        /// 

        /// 
        /// 压缩文件输出流对象
        /// 
        private bool ZipFileDictory(st

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-21 14:33  批量解压缩\
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\
     文件         944  2008-12-24 10:20  批量解压缩\BatchDecompression.sln
     文件       14848  2009-02-10 13:42  批量解压缩\BatchDecompression.suo
     文件        5639  2009-01-06 10:08  批量解压缩\BatchDecompression\BatchDecompression.csproj
     文件         485  2008-12-24 11:13  批量解压缩\BatchDecompression\BatchDecompression.csproj.user
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\bin\
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\bin\Debug\
     文件       15872  2009-02-10 13:33  批量解压缩\BatchDecompression\bin\Debug\BatchDecompression.exe
     文件       42496  2009-02-10 13:33  批量解压缩\BatchDecompression\bin\Debug\BatchDecompression.pdb
     文件       14328  2010-08-18 17:51  批量解压缩\BatchDecompression\bin\Debug\BatchDecompression.vshost.exe
     文件         490  2007-07-21 01:33  批量解压缩\BatchDecompression\bin\Debug\BatchDecompression.vshost.exe.manifest
     文件          71  2009-02-23 17:09  批量解压缩\BatchDecompression\bin\Debug\程序使用说明.txt
     文件       11909  2009-01-09 10:35  批量解压缩\BatchDecompression\Form1.cs
     文件       10942  2009-01-06 10:08  批量解压缩\BatchDecompression\Form1.Designer.cs
     文件        6626  2009-01-06 10:08  批量解压缩\BatchDecompression\Form1.resx
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\obj\
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\obj\Debug\
     文件        3078  2009-02-10 13:35  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.csproj.FileListAbsolute.txt
     文件         847  2009-01-06 10:08  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.csproj.GenerateResource.Cache
     文件       15872  2009-02-10 13:33  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.exe
     文件         180  2010-08-18 17:51  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.Form1.resources
     文件       42496  2009-02-10 13:33  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.pdb
     文件         180  2009-01-06 10:08  批量解压缩\BatchDecompression\obj\Debug\BatchDecompression.Properties.Resources.resources
     目录           0  2012-05-02 09:55  批量解压缩\BatchDecompression\obj\Debug\Refactor\
     文件        4037  2009-01-06 10:08  批量解压缩\BatchDecompression\obj\Debug\ResolveAssemblyReference.cache
     目录           0  2012-05-02 09:55  批量解压缩\BatchDecompression\obj\Debug\TempPE\
     文件         499  2008-12-24 10:20  批量解压缩\BatchDecompression\Program.cs
     目录           0  2013-01-21 14:33  批量解压缩\BatchDecompression\Properties\
     文件        1391  2008-12-24 10:37  批量解压缩\BatchDecompression\Properties\AssemblyInfo.cs
     文件        2886  2010-08-18 17:51  批量解压缩\BatchDecompression\Properties\Resources.Designer.cs
............此处省略3个文件信息

评论

共有 条评论