开发者

how to design a windows appication using c# to execute command line from lightscribe?

开发者 https://www.devze.com 2023-01-31 14:43 出处:网络
hI Guys, Do you all have any idea on how to design a windows appication using c# to execute comm开发者_运维问答and line from lightscribe? any help would be gratefulTo run an external process use Syst

hI Guys,

Do you all have any idea on how to design a windows appication using c# to execute comm开发者_运维问答and line from lightscribe? any help would be grateful


To run an external process use System.Diagnostics.Process like this:

Process myProcess = new Process();

myProcess.StartInfo.UseShellExecute = false;
myProcess.StartInfo.FileName = "C:\\HelloWorld.exe";
myProcess.StartInfo.Arguments = "a b c";
myProcess.StartInfo.CreateNoWindow = true;
myProcess.Start();

http://msdn.microsoft.com/en-us/library/system.diagnostics.process.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消