资源简介

资源截图

代码片段和文件信息

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(string FolderToZip ZipOutputStream ZOPStream string ParentFolderName)
        {
            bool res = true;
            string[] folders filenames;
            ZipEntry entry = null;
          

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2020-04-02 16:46  批量解压缩\
     目录           0  2020-04-02 16:46  批量解压缩\.vs\
     目录           0  2020-04-02 16:46  批量解压缩\.vs\BatchDecompression\
     目录           0  2020-04-02 16:47  批量解压缩\.vs\BatchDecompression\v16\
     文件       46080  2020-04-05 08:03  批量解压缩\.vs\BatchDecompression\v16\.suo
     目录           0  2020-04-02 16:47  批量解压缩\.vs\BatchDecompression\v16\Server\
     目录           0  2020-04-05 08:03  批量解压缩\.vs\BatchDecompression\v16\Server\sqlite3\
     文件           0  2020-04-02 16:47  批量解压缩\.vs\BatchDecompression\v16\Server\sqlite3\db.lock
     文件      516096  2020-04-05 08:03  批量解压缩\.vs\BatchDecompression\v16\Server\sqlite3\storage.ide
     目录           0  2020-04-02 16:46  批量解压缩\Backup\
     目录           0  2020-04-02 16:46  批量解压缩\Backup\BatchDecompression\
     文件        5639  2009-01-06 10:08  批量解压缩\Backup\BatchDecompression\BatchDecompression.csproj
     文件         485  2008-12-24 11:13  批量解压缩\Backup\BatchDecompression\BatchDecompression.csproj.user
     文件       10942  2009-01-06 10:08  批量解压缩\Backup\BatchDecompression\Form1.Designer.cs
     文件       11909  2009-01-09 10:35  批量解压缩\Backup\BatchDecompression\Form1.cs
     文件        6626  2009-01-06 10:08  批量解压缩\Backup\BatchDecompression\Form1.resx
     文件         499  2008-12-24 10:20  批量解压缩\Backup\BatchDecompression\Program.cs
     目录           0  2020-04-02 16:46  批量解压缩\Backup\BatchDecompression\Properties\
     文件        1391  2008-12-24 10:37  批量解压缩\Backup\BatchDecompression\Properties\AssemblyInfo.cs
     文件        2886  2010-08-18 17:51  批量解压缩\Backup\BatchDecompression\Properties\Resources.Designer.cs
     文件        5612  2008-12-24 10:20  批量解压缩\Backup\BatchDecompression\Properties\Resources.resx
     文件        1103  2008-12-24 10:20  批量解压缩\Backup\BatchDecompression\Properties\Settings.Designer.cs
     文件         249  2008-12-24 10:20  批量解压缩\Backup\BatchDecompression\Properties\Settings.settings
     文件         944  2008-12-24 10:20  批量解压缩\Backup\BatchDecompression.sln
     目录           0  2020-04-05 08:02  批量解压缩\BatchDecompression\
     文件        5832  2020-04-02 16:46  批量解压缩\BatchDecompression\BatchDecompression.csproj
     文件         508  2020-04-02 16:46  批量解压缩\BatchDecompression\BatchDecompression.csproj.user
     文件       11050  2020-04-03 17:07  批量解压缩\BatchDecompression\Form1.Designer.cs
     文件       12013  2020-04-03 17:07  批量解压缩\BatchDecompression\Form1.cs
     文件        6626  2020-04-03 17:07  批量解压缩\BatchDecompression\Form1.resx
     文件         499  2008-12-24 10:20  批量解压缩\BatchDecompression\Program.cs
............此处省略31个文件信息

评论

共有 条评论