Thanks for looking into my question.
I have a batch command running in jenkins windows batch command prompt. Let's a take a simple command
echo hello world
I want to write this command output to a file as well as this output to be displayed on command prompt. I have tried below 2 ways.
echo helloworld |tee -a .\test.log
echo hello world >>.\test.log >>CON
both of the above are not working.
Could anyone help me with this.
Thanks, R Dama.