Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to execute an external program
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01018545
Message ID:
01018554
Vues:
11
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();

.
.
.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform