摘要:
很简单的代码就可以实现C#调用EXE文件,如下:引入using System.Diagnostics;调用代码:Process.Start(exe文件名);或直接System.Diagnostics.Process.Start(exe文件名);C#如何判断程序调用的exe已结束二个方法:以运行系统记事本为例方法一:这种方法会阻塞当前进程,直到运行的外部程序退出System.Diagnostics.Process exep = System.Diagnostics.Process.Start(@"C:WindowsNotepad.exe");exep.WaitForExit( 阅读全文
posted @ 2013-09-11 16:10 ArRan 阅读(360) 评论(0) 推荐(0) 编辑