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'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top