hi, all
in linux, let say i want to start tomcat, and want to direct all the console log into a text file, i can do write a bash script:
./startup.sh > output.txt
but in windows, can we do the similar stuff using .bat script.
how can i write this bat script???
(i know the proper way should ask the application to do the log, but the application is not written by me, they print the log using system.out.print, all the logs are in the console, but i want to archive the log, in case something happen i can back trace)