C#打开exe程序,同一个文件夹里边的exe程序

C#打开exe程序,同一个文件夹里面的exe程序C#打开exe程序,同一个文件夹里面的exe程序,不是系统的exe,必须用

C#打开exe程序,同一个文件夹里面的exe程序
C#打开exe程序,同一个文件夹里面的exe程序,不是系统的exe,必须用绝对路径吗?请问有什么办法使用相对路径吗?

[解决办法]

C# code
 ProcessStartInfo startInfo = new ProcessStartInfo();                    startInfo.FileName = Application.StartupPath + @"\Updater.exe";                    startInfo.WindowStyle = ProcessWindowStyle.Normal;                    startInfo.Arguments = newVersion;//传参数给exe                    Process.Start(startInfo);
[解决办法]
C# code
 ProcessStartInfo startInfo = new ProcessStartInfo();                    startInfo.FileName = Application.StartupPath + @"\DMM.AddUpdater.exe";                    startInfo.WindowStyle = ProcessWindowStyle.Normal;                    startInfo.Arguments = newVersion;                    Process.Start(startInfo);
[解决办法]
C# code
 ProcessStartInfo startInfo = new ProcessStartInfo();                    startInfo.FileName = Application.StartupPath + @"\DMM.AddUpdater.exe";                    startInfo.WindowStyle = ProcessWindowStyle.Normal;                    startInfo.Arguments = newVersion;                    Process.Start(startInfo);