Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Process t = new Process();
- t.StartInfo.FileName = "7za.exe";
- t.StartInfo.Arguments = "e " + filePath[i] + " -y -o" + directory[3];
- t.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
- t.EnableRaisingEvents = true;
- t.StartInfo.UseShellExecute = false;
- l.StartInfo.RedirectStandardOutput = true;
- t.Start();
- Console.WriteLine(l.StandardOutput.ReadToEnd());
- t.WaitForExit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement