Call more than one bat script

1

I have a very chatty situation and I could not find a solution, I have 2 scripts and they are called through another, my problem is that it calls one and not the other, one starts a tomcat and the other starts a hsql bank. Can someone help me ? Here's how:

@echo off

call start-tomcat.bat tgg
call start-hsql.bat tgg

@pause
    
asked by anonymous 14.06.2017 / 14:37

1 answer

3

If you call them both, they will start in separate windows:

@echo off

start start-tomcat.bat tgg
start start-hsql.bat tgg

@pause

If you call like this, they will start in the same window:

@echo off

start /b start-tomcat.bat tgg
start /b start-hsql.bat tgg

@pause
    
14.06.2017 / 14:59