g2c
Member
- Joined
- Jun 28, 2014
- Messages
- 33
- Thread Author
-
- #1
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
>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
Solution
That's because not all commands send their output to Standard Output. Read this: http://www.robvanderwoude.com/battech_redirection.php
strollin
Honorable Member
- Joined
- Jul 21, 2013
- Messages
- 285
That's because not all commands send their output to Standard Output. Read this: http://www.robvanderwoude.com/battech_redirection.php
g2c
Member
- Joined
- Jun 28, 2014
- Messages
- 33
- Thread Author
-
- #4
Thanks for your concern,What are you trying to save from wget?
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
g2c
Member
- Joined
- Jun 28, 2014
- Messages
- 33
- Thread Author
-
- #5
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.That's because not all commands send their output to Standard Output.
Similar threads
- Replies
- 0
- Views
- 36