ProcessStartInfo si = new ProcessStartInfo(); si.FileName = "cscript.exe"; si.RedirectStandardOutput = true; si.Arguments = "Script.vbs"; si.UseShellExecute = false; si.WindowStyle = ProcessWindowStyle.Hidden; si.CreateNoWindow = true; Process p = Process.Start(si); string searchResult = p.StandardOutput.ReadToEnd(); p.WaitForExit();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)