Unzip a file in c# using 7z.exe
问题 I'm trying to unzip a file from a winform application. I'm using this code : string dezarhiverPath = @AppDomain.CurrentDomain.BaseDirectory + "\\7z.exe"; ProcessStartInfo pro = new ProcessStartInfo(); pro.WindowStyle = ProcessWindowStyle.Hidden; pro.FileName = dezarhiverPath; pro.Arguments = @" e c:\TEST.ZIP"; Process x = Process.Start(pro); x.WaitForExit(); The code doesn't return error but doesn't anything. I tried this command also from cmd : K:\>"C:\Test\7z.exe" e "c:\TEST.ZIP" but in cmd