在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
var exePath = @"C:\Program Files\7-Zip\7z.exe"; var path = @"I:\work\MusicCatcher2\WindowsFormsApplication1\bin\Debug\"; var fileName = @"1.zip"; var cmd = "x \"" + path + fileName + "\" -y -aos -o\"" + path+"temp\\\"";//目的文件夹 Process process = new Process { StartInfo = {FileName = exePath, Arguments = cmd, WindowStyle = ProcessWindowStyle.Hidden} }; process.Start(); process.WaitForExit(); process.Close(); |
请发表评论