Calling more than one script bat

Asked

Viewed 2,925 times

1

I have a very boring situation and I could not find a solution, I have 2 scripts and the same are called through another, my problem is that it calls one and not the other, one starts one tomcat and the other starts a bank hsql. Can someone help me ? It’s like this:

@echo off

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

@pause

1 answer

3


If you call them that, they’ll start in separate windows:

@echo off

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

@pause

If you call it so, you will incite in the same window:

@echo off

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

@pause
  • 1

    Show, thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.