ProcessStartInfo.Arguments : ProcessStartInfo « System.Diagnostics « C# / C Sharp by API






ProcessStartInfo.Arguments

  

using System.Diagnostics;

public class StartingProcesses
{
    public static void Main()
    {
        ProcessStartInfo startInfo = new ProcessStartInfo();
        startInfo.FileName = "notepad.exe";
        startInfo.Arguments = "process.cs";
        
        Process.Start(startInfo);
    }
}

   
    
  








Related examples in the same category

1.new ProcessStartInfo()
2.ProcessStartInfo.ErrorDialog
3.ProcessStartInfo.FileName
4.ProcessStartInfo.RedirectStandardOutput
5.ProcessStartInfo.UseShellExecute
6.ProcessStartInfo.WindowStyle
7.ProcessStartInfo.WorkingDirectory