How to send ping results to a Notepad file

Written by stephen byron cooper Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to send ping results to a Notepad file
Ping can test your connection to any computer in the world that is connected to the Internet. (Jeffrey Hamilton/Lifesize/Getty Images)

In Windows, Notepad is set as the default application to open files with the .TXT file extension. This file extension usually denotes plain text files. It is possible to get ping output sent to a text file. Ping is a network testing protocol which is implemented in Windows through the ping command. You run ping from the command line.

Skill level:


  1. 1

    Click on the “Start” button and hover over “All Programs.” Next find the “Accessories” folder and hover over that. Select “Command Prompt” to access the command line. This will open a “Command Prompt” window with C:\Domuments and settings\user as the current directory.

  2. 2

    Switch to the “My Documents” subfolder to make it easier to find the output file once it has been generated. Issue the command “cd My*” (without the quotes) and press “Enter” to achieve this.

  3. 3

    Type “ping –n 10 > pingout.txt” (without the quotes) and press the “Enter” key. This will run ping but you won’t see any output on the screen. All the data that would normally come out of the ping command onto the screen has instead been written to a file called pingout.txt.

  4. 4

    Type “exit” and press return to close the “Command Prompt” window. Next, open a Windows Explorer in My Documents, by clicking on it in the “Start” menu. Scroll down the contents of the folder to find the “pingoutput” file. Double click on it to open it in Notepad and read the ping output.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.