How to save ipconfig data to text file

Learn how to save ipconfig results data to a text file.

You can save the ipconfig results data to a text file:

  1. Open Command Prompt.

    ipconfig open command prompt app

  2. Type ipconfig to start the ipconfig utility.

    It would output data such as:

     IPv4 address:
     Network subnet mask:
     Default Gateway:

    ipconfig command results

  3. This data can be saved to a text file using the > symbol followed by the folder path and file name where you'd like the data to be saved to.

     ipconfig > C:\temp\ipconfig-results.txt

    ipconfig symbol save to file folder path

  4. The ipconfig results data is now saved to your specified folder:

    ipconfig results file saved to folder example