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
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL