CommandLine execution problem
-
HI Gurus, Iam invoking my server from batch file. Iam trying to run six projects sequentially, But After three projects executed successfully, Windows Exception coming. Some times for every project Windows Exception coming. my Batch file is like this. DUCommandLine.exe -u sa -a sa -p DB2DB1 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB2 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB3 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB4 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB5 -s Rayalu -n 10 Individual projects iam able to run successfully. Can i get return value after execution of each project. Please guide me to fix this problem. Thanks, Krishna
-
HI Gurus, Iam invoking my server from batch file. Iam trying to run six projects sequentially, But After three projects executed successfully, Windows Exception coming. Some times for every project Windows Exception coming. my Batch file is like this. DUCommandLine.exe -u sa -a sa -p DB2DB1 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB2 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB3 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB4 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB5 -s Rayalu -n 10 Individual projects iam able to run successfully. Can i get return value after execution of each project. Please guide me to fix this problem. Thanks, Krishna
Test the errorlevel[^] after each command to decide whether to continue. Your application should set this value in its
exit()
call or the return value frommain()
. You should also catch any exceptions and print a meaningful message to assist in diagnosing the problem.It's time for a new signature.
-
HI Gurus, Iam invoking my server from batch file. Iam trying to run six projects sequentially, But After three projects executed successfully, Windows Exception coming. Some times for every project Windows Exception coming. my Batch file is like this. DUCommandLine.exe -u sa -a sa -p DB2DB1 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB2 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB3 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB4 -s Rayalu -n 10 DUCommandLine.exe -u sa -a sa -p DB2DB5 -s Rayalu -n 10 Individual projects iam able to run successfully. Can i get return value after execution of each project. Please guide me to fix this problem. Thanks, Krishna
-
use for every instance an new console. "CALL ..."
Press F1 for help or google it. Greetings from Germany
HI Gurus, it is Throwing DOS Error code 1073741819 After finishing third Project. If i run 5 projects in 5 batch files then Individually all projects running successfully. Thanks Krishna
-
HI Gurus, it is Throwing DOS Error code 1073741819 After finishing third Project. If i run 5 projects in 5 batch files then Individually all projects running successfully. Thanks Krishna