If you want to start a batch file from an other batch file you can use the start command.

If you want to hide the command line window, that will be displayed by default, use the /B parameter.



Test1.bat contents:

start /B /wait Test2.bat



When you execute Test1.bat on the command line, the Test2.bat will be executed without showing a window.

(The Test1.bat will wait until Test2.bat is finished, because the /wait argument is supplied.)

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.