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.StartInfo.Arguments = @"a -t7z " + cmdstr + " -mx=9 ";//启动参数
p.Start();//启动
}