C#程序调用外部程序
摘要:
C#程序调用外部程序using System;class test{ static void Main(){//声明一个程序信息类System.Diagnostics.ProcessStartInfo Info = new System.Diagnostics.ProcessStartInfo();//设置外部程序名Info.FileName = "notepad.exe";//设置外部程序的启动参数(命令行参数)为test.txtInfo.Arguments = "test.txt";//设置外部程序工作目录为 C:Info.WorkingDirectory = "C:"";//声明一个程序 阅读全文
posted @ 2009-03-24 00:43 光谷动力 阅读(501) 评论(0) 推荐(0)
浙公网安备 33010602011771号