Skip to content
Loading
How to pass an argument to cmd.exe ?
  • You can pass arguments in
    startInfo.Arguments ="";
  • Its Not working Mangesh.
  • Mangesh G
    Dinesh u can do it like this 
     
    System.Diagnostics.Process.Start(AppPath, "Your Value to send");
    second argument to the Start()  is nothing but the parameter value to be passed
    Hope it Helps U 
  • Amit Gupta
    @Dinesh
    The same has been answered in your previous question
    http://www.c-sharpcorner.com/forums/how-to-use-system-process-in-c-sharp 
     
    There is no need to post the same question again