Batch Script and Exit
I have a main batch script that calls out to some sub batch scripts, which end with the EXIT
keyword. This, in turn, let m开发者_StackOverflow中文版e 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
You should use call
when you call another script.
...
call someother.cmd
...
精彩评论