开发者

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
...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜