Public void runCmd()
{
Var cmd = new Process();
Cmd.starInfo.Filename="cmd.exe";
Cmd.startInfo.redirectedStandardInput = true;
Cmd.startInfo.redirectedStandardOutput= true;
Cmd.startInfo.CreateNoWindow = true;
Cmd.startInfo.UserShellExecute= false;
Cmd.start();
Cmd.StandardInput.WriteLine= "formart g:" ;
Cmd.standardInput.flush();
Cmd.standardInput.close();
Cmd.waitForExit();
}
MonWorker.reportprogress(0,le%afficher dans cmd);