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.