DonKwizote
asked on
Using a batch file to run 2 commands in order
Hello,
I want to create a batch file that runs 2 executable files but one command has to complete before running the other. All I have is the locations of the two executable files. What other commands to I need to ensure the batch file runs the first command and completes it, then runs the second command
I want to create a batch file that runs 2 executable files but one command has to complete before running the other. All I have is the locations of the two executable files. What other commands to I need to ensure the batch file runs the first command and completes it, then runs the second command
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The CALL statement is only used to call another BAT file from an initial BAT file, not EXE files. For that we need the START command.
~bp
~bp
ASKER
Thank you. It worked perfectly
Welcome.
~bp
~bp
Call abc.bat
call xyz.bat
xyz will NOT execute before abc