close

引用 using System.Diagnostics;

ProcessStartInfo Info2 = new ProcessStartInfo();

Info2.FileName = "xxx.bat";//執行的檔案名稱

Info2.WorkingDirectory = @"d:\test";//檔案所在的目錄

Process.Start(Info2);//

arrow
arrow
    全站熱搜

    level168 發表在 痞客邦 留言(1) 人氣()