running Dos commands in the background

  • Thread starter Thread starter VM
  • Start date Start date
V

VM

Is it possible to run dos commands in the background without the user ever
seeing that the command is running?
When I run the application, I can always see the dos box (even if it's for a
split second).
How can I hide it or minimize it?
Thanks.
 
The ProcessStartInfo class has a CreateNoWindow property. Set it to true and
your DOS process won't pop up a window.
 

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