using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }        private void button1_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process p = new System.Diagnostics.Process();
            p.StartInfo.FileName = @"D:\Program Files\Wopti\WoptiUtilities_CN.exe";//需要启动的程序名  
            p.StartInfo.Arguments = "-x  sourceFile.Arj  c:\temp";//启动参数  
            p.Start();//启动  
            if (p.HasExited)//判断是否运行结束  
                p.Kill();        }
    }
}