Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to execute an external program
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01018545
Message ID:
01018554
Views:
10
Hi, I've found a solution to my request, but i dont know if that is the optimum implementation.
.
.
.
using System.Diagnostics;
.
.
.

Process p = new Process();
p.StartInfo.FileName = "c:\\test.bat";
p.Start();
while (!p.HasExited) {};
Console.WriteLine("Process Completed");
Console.ReadLine();

.
.
.
Previous
Reply
Map
View

Click here to load this message in the networking platform