How to: Save MS-DOS Output In a File

By Angsuman Chakraborty, Gaea News Network
Thursday, December 25, 2008

This is a very important trick for Windows users. Though its fairly old still I thought of putting it up finally in case someone needs to copy the outputs of the DOS he is working on.

This trick is very helpful when you want to save the result of a dos command to a file to email it or read/print it later. For example, you can print out your network configuration data and email it to a technical support.

Trick

simply put a > and the destination file at the end of the dos command. Examples:

This command outputs the IP configurations to the file ipdata.txt in C drive:
ipconfig /all > C:\ipdata.txt

And you are done. Hope this is useful for you.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :