If I understand you well, this code should work
(replace "Loader.exe" and "inifile.ini" with proper names of your files):
ProcessStartInfo psi = new ProcessStartInfo(BasePath + "\Loader.exe");
psi.Arguments = BasePath + "\inifile.ini";
psi.WorkingDirectory = BasePath;
try
{
Process p = Process.Start(psi);
}
catch (Exception ex)
{
MessageBox.Show("Error:
" + ex.InnerException, "Run Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…