博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

Command line execution

Posted on 2008-10-07 13:00  火星  阅读(170)  评论(0)    收藏  举报
1 System.Diagnostics.Process proc = new System.Diagnostics.Process();
2 proc.EnableRaisingEvents = false;
3 proc.StartInfo.FileName = @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\regasm.exe";
4 proc.StartInfo.Arguments = "ConquestAPI.2.dll";
5 proc.Start();