Jump to content

how to get console output of batch file


ur
 Share

Recommended Posts

I am running the tomcat batch file through autoit   and need to wait until the below line I get in console output.

Capture1.JPG

But when I am trying to read the console output using the ProcessEx UDF, I am getting only the partial output.

So, can you please suggest how to handle this.

Link to comment
Share on other sites

It seems it is running another batch file internally..

 

I will share you the batch file

main file: startup.bat.txt

nested fle: catalina.bat.txt

 

The partial output: 

Using CATALINA_BASE:   "C:\Program Files\erwin\Mart Server r9\Tomcat64"
Using CATALINA_HOME:   "C:\Program Files\erwin\Mart Server r9\Tomcat64"
Using CATALINA_TMPDIR: "C:\Program Files\erwin\Mart Server r9\Tomcat64\temp"
Using JRE_HOME:        "C:\Program Files\erwin\Mart Server r9\Jre64"
Using CLASSPATH:       "C:\Program Files\erwin\Mart Server r9\Tomcat64\bin\bootstrap.jar;C:\Program Files\erwin\Mart Server r9\Tomcat64\bin\tomcat-juli.jar"

 

Link to comment
Share on other sites

It seems it is running another batch file internally..

 

I will share you the batch file

main file: startup.bat.txt

nested fle: catalina.bat.txt

 

The partial output: 

Using CATALINA_BASE:   "C:\Program Files\erwin\Mart Server r9\Tomcat64"
Using CATALINA_HOME:   "C:\Program Files\erwin\Mart Server r9\Tomcat64"
Using CATALINA_TMPDIR: "C:\Program Files\erwin\Mart Server r9\Tomcat64\temp"
Using JRE_HOME:        "C:\Program Files\erwin\Mart Server r9\Jre64"
Using CLASSPATH:       "C:\Program Files\erwin\Mart Server r9\Tomcat64\bin\bootstrap.jar;C:\Program Files\erwin\Mart Server r9\Tomcat64\bin\tomcat-juli.jar"

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...