• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Redirecting Command Output

Redirecting Command Output

To send command output to somewhere other than the screen, you use the output redirection operator (>). One of the most common uses for output redirection is to capture the results of a command in a text file. For example, you might want to use the report produced by the MEM command as part of a word processing document. You could use the following command to first capture the report as the file mem.txt:

mem /c > mem.txt


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint