Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Batch file calling Console Application
Message
From
15/02/2007 14:06:29
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Class design
Title:
Batch file calling Console Application
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01196197
Message ID:
01196197
Views:
69
Hello,
I have 3 separate console application: app1.exe, app2.exe, and app3.exe. I want to create 1 batch file that executes app1 and app2. They both return a 1 if successful and a -1 if error. If both of them return 1 I want to execute app3. Anybody have any idea how I can do this? I can do an if statement and a call statement in the .bat file, but I don't know how to handle the returned value from my app1 and app2.
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform