Store all the things that got printed to windows CMD in a file

Posted by Raihan Jamal on Stack Overflow See other posts from Stack Overflow or by Raihan Jamal
Published on 2012-04-11T23:07:54Z Indexed on 2012/04/11 23:29 UTC
Read the original article Hit count: 215

Filed under:
|
|

Is there any way I can save all the things that is happening on my Windows 7 Command Prompt in a file. So that I can see what are the things that got printed on the console. I am running a multithreaded Java Program from the command prompt as-

java -server -Xms512m -Xmx512m -XX:PermSize=512m -XX:MaxPermSize=512m -Duser.timezone=GMT-7 –jar BatchMain.jar -taskId V3-PERSONALIZATIONGEO-SAMPLE-TASK -noofthreads 1 -timeout 5 -numberOfIP 1000 -privateIPAddress false

And it prints lot of things on to the command prompt, And I want to store all these things that are getting printed on the console into a file.

© Stack Overflow or respective owner

Related posts about java

Related posts about Windows