0

I have a main batch script that calls out to some sub batch scripts, which end with the EXIT keyword. This, in turn, let me out to the command prompt again. Is there any way to capture the EXIT in the main script and then just run the next line?

Thx

1
  • Just remove the EXIT from those sub-batch scripts. Commented Jun 13, 2011 at 13:33

1 Answer 1

4

You should use call when you call another script.

...
call someother.cmd
...
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.