Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to execute a batch file within a console app?

Status
Not open for further replies.

BobLoblaws

Programmer
Nov 20, 2001
149
0
0
CA
My console app does some stuff, and if certain conditions are in place, I want it to run a batch file. How do I do this?
Thanks
 
You have 2 options:
Either open the batch file as a normal file and process it, either use one of the spawn function. [red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top