The S R Store

Search This Blog

Friday, October 24, 2008

OUTPUT TEXT FROM DOS TO FILE

Output Text from Dos Prompt to File

The trick saves the outputs into a file, instead of displaying the outputs on the screen.
Through this trick you can copy the 'help text that appears when you put /? in front of the command.

Now the Trick:
simply put a ">" and the destination file at the end of the dos command.
For Example:

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

No comments:

Post a Comment

please do tell me if you like this stuff.