How do I call another batch script from within a batch script?
I want it to execute in an if statement.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use
CALLas inThis will block (pause) the execution of the current batch file, and it will wait until the
CALLed one completes.If you don’t want it to block, use
STARTinstead.Get the nitty-gritty details by using
CALL /?orSTART /?from the cmd prompt.