Launching a Batch file from C# (newbie)

  • Thread starter Thread starter plv
  • Start date Start date
P

plv

Hi,

I am very new to C#, how do I launch an external program? I mean something
like the "_spawnl" functions in C++. I can't find anything in the
documentation.

Thanks!

/p
 
plv said:
I am very new to C#, how do I launch an external program? I mean something
like the "_spawnl" functions in C++. I can't find anything in the
documentation.

See the System.Diagnostics.Process class.
 
Thanks!

It was the "Diagnostic" part of the name that I could not guess... Now it
works.

Cheers,

p
 
Back
Top