c# 调用7za.exe执行压缩命令

string path7z = $"7zsource\\{project.name}";
string path7zip = $"7z\\{project.name}.7z";

ProcessStartInfo p = new ProcessStartInfo
{
   FileName = "7za.exe",
   Arguments = "a -t7z \"" + path7zip + "\" \"" + $".\\{path7z}\\" + "\" -mx=9",
   WindowStyle = ProcessWindowStyle.Hidden
};
Process x = Process.Start(p);

 

c# 调用7za.exe执行压缩命令

上一篇:Android上传文件之FTP


下一篇:android 保存 用户名和密码 设置等应用信息优化