Saturday, July 14, 2012

Save Dos Commands output in File

Hello,


This is a small trick that many Dos might already know. The trick just shows you how to run a Dos command and instead of displaying the outputs on the screen, it saves the outputs into a file.

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.


For e.g
open cmd
type 
ipconfig >c:\ip.txt


After excution of this command all result of ipcofing command will store in ip.txt file.




Thats it!

No comments:

Post a Comment