// 目标文件路径
string StartPath = Application.StartupPath + @"\scripts\starthw.bat";
// 选择打开方式文件路径
//记事本
string NotPath = System.Environment.SystemDirectory + "\\notepad.exe";
//sakura
string SakuraPath = @"C:\Program Files (x86)\sakura\sakura.exe";
System.Diagnostics.Process.Start(NotPath, this.StartPath);
System.Diagnostics.Process.Start(SakuraPath, this.StartPath);