RUN command question

S

Steve T

I want to run a test ping at yahoo.com of 50 pings and see what the response
times are. I need to do at least 50 pings and see the high, low and average.
The command I have is (ping -t www.yahoo.com) which opens the window and
just keeps running until I close it. How do I get the results saved to a
text file where I can see the results? I can't remember too many DOS
commands from the past. Thanks, Steve T
 
G

Guest

ping -t www.yahoo.com >print
After complete open MyComputer/ My Documents(defult) and look for the file
named print.
click and when asked what prongram to open with choose Noteped.
Hope this helps :)
 
S

Steve T

Sorry guys, neither of these commands work on the XP. The command shell
opens and closes almost immediately with no resulting text file anywhere.
Running the command I listed (ping -t www.yahoo.com) takes about 30 seconds
for 50 pings. Thanks, Steve T.
 
D

David Candy

Of course. There is nothing to do redirection. Type it in a command prompt.
 
Y

YZ

Steve said:
Sorry guys, neither of these commands work on the XP. The command shell
opens and closes almost immediately with no resulting text file anywhere.
Running the command I listed (ping -t www.yahoo.com) takes about 30 seconds
for 50 pings. Thanks, Steve T.
Steve,

if you first open DOS-prompt (cmd.exe) and then ping a host from there
(ping -t www.yahoo.com) then you can see pinging in real time, and after
you are done, it stays on your screen until you close DOS prompt (exit).

It works just as well with its output redirected to a file
(>C:\ping.txt), except in this case nothing appears on your screen.

YZ
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top