Run a batch file by passing parameters with in a button click

  • Thread starter Thread starter sukanya s via .NET 247
  • Start date Start date
* sukanya s via .NET 247 said:
i am doing a project in asp.net (web application).Can anyone please
tell me how to run a batch file within a button click event,also i need
to pass parameters from my application to that batch file.Very
urgent.Kindly reply immediately.thanks in advance.

Did you have a look at 'System.Diagnostics.Process', its 'Start' method
and 'ProcessStartInfo'?
 
Back
Top