Featured Content Slider

Home » , , , , » SAVE DOS OUTPUT IN A FILE

SAVE DOS OUTPUT IN A FILE

Vo Uu | 00:52 | 0 nhận xét
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.

Here’s how

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

This command outputs the “Path” configurations to the file “pathdata.txt” in the floppy drive “A“:
path > A:\pathdata.txt

This command outputs help text of the command “copy” to the file “copyhelp.txt” in “C” drive:
copy /? > C:\copyhelp.txt
Share this article :

0 nhận xét:

Đăng nhận xét

Recent Post

Test Footer 1

 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. The UG - All Rights Reserved
Template Modify by Creating Website
Proudly powered by Blogger