Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run an exe and close after complete

Status
Not open for further replies.

QuantumDoja

Programmer
Jun 11, 2004
76
GB
Hi, I have the following code to run an exe:

Code:
System.Diagnostics.Process.Start("blah.exe")

This opens up a dos promt and runs the program.

What I need my program to do next is close the dos promt, I cannot edit "blah.exe"....how could I close it?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top