How to exeute a BAT ??

  • Thread starter Thread starter Marcelo López
  • Start date Start date
M

Marcelo López

Hi all, i'm developing a win app and i need to execute a .bat in the main
constructor (in the codebehind).

Which is the easiest way to do that ?? Could anyone give me an exameple ??

Regards

Marcelo López
Infocorp
Latin America
 
Hi,

Take a look at the System.Diagnostics.Process class. I think you can run
..bat files with help of this class provided you set the ShellExecute
property to "true".
 

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

Similar Threads

How to execute a .BAT ?? 1
How to Execute a File ?? 1
how to get OS Language ? 2
Deploy in .NET 2
how to confirm a command ?? 2
Depply app with .NET 1
Getting OS Language ?? 5
Folder Permissions 1

Back
Top