posted on March 29, 2008

使用dotNetZipLib轻松压缩目录/文件夹

.net1.1时代我们选SharpZipLib
.net2.0时代我们选System.IO.Compression名称空间下的东东
.net3.0时代我们选System.IO.Packaging名称空间下的东东。
今天发现CodePlex上有个好东西,另压缩如此之Easy。。。

 

  ZipFile zip = new ZipFile(directooutputFileName);
            zip.TrimVolumeFromFullyQualifiedPaths 
= true;
            zip.TempFileFolder 
= Path.GetTempPath();
            zip.Comment
                
= string.Format("A zip archives。{0}  {1}",  Environment.NewLine, DateTime.Now.ToString());
            zip.AddDirectory(directory, 
string.Format("MyFolder-{0}", DateTime.Now.ToShortDateString()));
            zip.Save();

那就是

DotNet Zip Library

 

 

posted on March 16, 2008

批量 移动 msn 联系人

MSN内导入一个联系人列表后,联系人都在“其他联系人”这个组,

我想把它重命名一下,不可以,转移到其他组,发现只能一个一个转移。

最后发现,新建组然后按shift选择需要加入的联系人checkbox,确定。

“其他联系人”内的联系人都到新组中去了。




 


 

posted on March 6, 2008

IE8 BETA1 来了....

太疯狂了,迅雷30秒就下完了14.43M啊

Install Internet Explorer 8


Internet Explorer 8 can be installed on Microsoft Windows Vista® Service Pack 1 (SP1), Windows Vista, Windows XP® Service Pack 2 (SP2), Windows Server® 2008 and Windows Server 2003 Service Pack 2 (SP2). Downloads are available from the following locations:



Internet Explorer 8 Beta 1 for Windows Vista and Windows Server 2008 


Internet Explorer 8 Beta 1 for Windows Vista x64 Edition and Windows Server 2008 x64 Edition


Internet Explorer 8 Beta 1 for Window XP SP2


Internet Explorer 8 Beta 1 for Windows Server 2003 SP2


Internet Explorer 8 Beta 1 for Windows Server 2003 SP2 x64 Edition and Windows XP SP2 Pro x64 Edition