How to log a bat file and show in on the screen?
I have this bat file.
@REM javac URLThresholdMonitor.java
java -classpath . URLThresholdMonitor ./URLThresholdMonitor.properties > test.log
When i run it.....it will show all the logs in test.log however not on the screen.
if i never put > test.log, then it will show the details on the black prompt.
What i want is to show all the details and also to log the details in test.log.
Any ideas how to do it? thanks..its very much appreciated.
By Arjuna in forum Database
Last Post: 07-25-2007, 03:22 AM
By Ron in forum Enterprise
Last Post: 07-26-2002, 09:23 AM
By Andrew McLellan in forum Java
Last Post: 05-09-2001, 05:34 PM
By Carlos Mantilla in forum ASP.NET
Last Post: 02-01-2001, 12:19 PM
By Ranger in forum VB Classic
Last Post: 12-11-2000, 03:00 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center