Also you can create an instance of the Process class for additional info.
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo.FileName = @"C:\Windows\System32\ipconfig.exe";
p.StartInfo.Arguments = "/all";
p.Start();
p.WaitForExit(); //not necessary but sometimes needed
There's a lot more stuff you can use including redirecting the output of a
program.
On 12/04/2004 Bruce L <yl**@aigoo.com> wrote:
Try System.Diagnostics.Process.Start(). For example,
System.Diagnostics.Process.Start("notepad.exe") or
System.Diagnostics.Process.Start("nda.doc") (which will start Word).
Bruce
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!