Windows 8.1 redirecting .bat output to a file

g2c

Member
Hello, I would like to save for further processing all the output of a .bat file. This .bat calls wget and if i call the .bat with

>test.bat > test.txt

the .txt file is filled with whatever dos prints to the screen but NOT the output from wget

Thanks in advance for your help
 
What are you trying to save from wget?
Thanks for your concern,
I have a misbehavior when accessing a server on an android phone as if the android discards ARPs. I am trying to analyse a long run with random inter-requests idles so as to find a pattern in the failures
 
That's because not all commands send their output to Standard Output.
if i ask wget to output to a file, i'll end up with two files: the batch output with some variables such as the loop counter on one hand and the wget output on the other.
 
Back
Top