Process^ myProcess = gcnew Process; myProcess->StartInfo->FileName = "cmd.exe"; myProcess->StartInfo->Arguments = "/c C:/iphuc.exe -o deviceinfo > C:/conn"; myProcess->StartInfo->CreateNoWindow = true; myProcess->Start();
Process^ myProcess = gcnew Process; myProcess->StartInfo->FileName = "cmd.exe"; myProcess->StartInfo->Arguments = "/c C:/iphuc.exe -o deviceinfo > C:/conn"; myProcess->StartInfo->CreateNoWindow = true; myProcess->Start(); //Here is how to kill it myProcess->Kill();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)