Share via

nested batch files don't work - calling file terminates when called does

Anonymous
2010-09-04T00:07:56+00:00

If I execute a batch file a.bat which contains the command b which is itself a batch file b,bat, then no statements/commands after b in a.bat are ever executed.

Windows for home | Previous Windows versions | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2010-09-04T00:30:21+00:00

Hi,

CALL B.BAT

Then B runs and unless it relinquishes control to something else control will return to A.BAT

when B.BAT completes. It returns to the next legal command after the CALL.

Information on batch files

http://www.computerhope.com/batch.htm

Hope this helps.


Rob Brown - MS MVP - Windows Desktop Experience : Bicycle - Mark Twain said it right.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful