How to Save the Output of a Command to a File
You may need to save the output of a command to a file for future reference, or maybe for posting it in some forum for getting help from others regarding the error(s) displayed in the output of that command. You can do this easily by typing “>” (without quotes) followed by a filename after the command you’re going to execute.
Following command saves the ipconfig /all command output to a file named; Output.txt.
Following command saves the ipconfig /all command output to a file named; Output.txt.