摘要:
using System;using System.Collections.Generic;using System.Text;using System.IO; class Program { static void Main(string[] args) { Console.WriteLine("----------------------------------------------------"); Console.WriteLine("删除过期备份") ; FindAllFileAndDel(Action.Text.gettextbyline2 阅读全文
摘要:
public void z7(string cmdstr) { System.Diagnostics.Process p = new System.Diagnostics.Process(); p.StartInfo.CreateNoWindow = true; p.StartInfo.FileName = "7za.exe";//需要启动的程序名 //p.StartInfo.Arguments = @"a -t7z d:\SMMM_2011103111620.7z d:\SMMM_2011103111620.bak -mx=9 ";//启动参数 p.S 阅读全文
摘要:
7z.exe在CMD窗口的使用说明如下:7-Zip (A) 4.57 Copyright (c) 1999-2007 Igor Pavlov 2007-12-06Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...][<@listfiles...>]<Commands>a: Add files to archiveb: Benchmarkd: Delete files from archivee: Extract files from ar 阅读全文