Use the CALL command when nesting batch files

When nesting batch files, you must use the CALL command

first.bat

echo Begin first.bat

CALL second.bat

echo End first.bat 

If the “CALL” command is not used, “echo End first.bat” will never be executed.

Tagged with:
Posted in Sysadmin

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Welcome
Welcome to my blog