Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to save output of ping command

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 04-01-2011
Member
 
Join Date: Dec 2010
Posts: 87
How to save output of ping command
  

Recently I had brought a computer, Iím doing IT, so I need a computer for my study. Iím a beginner in IT, so I donít know much about computer uses and its application. I want to save the output of c program in a fixed file, that output I will use in future. I want to know that, how should I save the output in a fixed file, please tell me the procedure step by step, I donít know anything, please help me.

Reply With Quote
  #2  
Old 04-01-2011
Member
 
Join Date: Nov 2008
Posts: 158
Re: How to save output of ping command

It is very easy to save the output from command prompt to a text file, you just have to follow few steps:
Assuming you are using Win XP, Start > RUN type in CMD and hit Enter. A "dos"
box will open. type in your ping command and see the results, when finished.
To save the output of the result right click>select all>ctl+c. Open notepad ctl+v. or you can save it to any text editor.
Reply With Quote
  #3  
Old 04-01-2011
Member
 
Join Date: Jan 2009
Posts: 150
Re: How to save output of ping command

Assuming you are using WinXP, Start > RUN type in CMD and hit Enter. A "dos"
box will open. type in your ping command and see the results, when finished,
either close the box as you would any normal window, or just type exit to
close it
Alternatively, Start > Programs > Accessories > Comamnd Prompt also opens a
"dos" box.
To save the output of the command click right >select all>ctl+c. Open notepad ctl+v. or you can save it to any text editor which you want.
Reply With Quote
  #4  
Old 04-01-2011
Member
 
Join Date: Dec 2008
Posts: 150
Re: How to save output of ping command

There are different methods for saving the command prompt output. You can simply click right and select all the content of the output, then press ctrl+c to select and ctrl+v to paste or you can also you use mouse for doing that. There is another method for doing this which are as follows:
traceroute 127.0.0.1 > traceresult.txt
then open the file pingresult.txt and so on.
Or take a screen shot.
Or use Mark (i.e. copy)/paste into another application.
Reply With Quote
  #5  
Old 04-01-2011
Member
 
Join Date: Nov 2009
Posts: 290
Re: How to save output of ping command

You can do it in many way. One of the way are as follows:
By adding a command to the ping request to save the output as a text file.

Click Start, Programs, DOS Prompt or click Start, Run. In the Run
box, type "CMD" without the quotes and press enter.

At the prompt, type:

ping 192.168.0.1 >c:\ping.txt

That will save the ping data to a text file in the root directory of drive C

Now double-click c:\ping.txt and you will see something similar to this:

Pinging 192.168.0.1 with 32 bytes of data:

Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64
Reply from 192.168.0.1: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to save output of ping command"
Thread Thread Starter Forum Replies Last Post
ping is not recognized as an internal or external command OBAMA Operating Systems 4 16-11-2010 01:16 PM
Ping command adding dns suffix to name. shadeyman Networking & Security 1 09-11-2010 11:45 PM
ps aux command output of cpu column LinuxeD Operating Systems 3 01-08-2009 09:14 PM
How to use ping command of dos Kushan Operating Systems 1 27-05-2009 09:49 AM
Save the video output of a PC from another Pollock Hardware Peripherals 5 26-02-2009 09:20 AM


All times are GMT +5.5. The time now is 05:22 AM.