DOS command to Display result on console and redirect the output to a file

Posted by Ammu on Stack Overflow See other posts from Stack Overflow or by Ammu
Published on 2009-04-28T06:32:23Z Indexed on 2010/03/24 20:53 UTC
Read the original article Hit count: 238

Filed under:

How do I display and redirect output to a file. Suppose if I use dos command, dir > test.txt ,this command will redirect output to file test.txt without displaying the results. how to write a command to display the output and redirect output to a file using DOS i.e., windows command prompt, not in UNIX/LINUX.

© Stack Overflow or respective owner

Related posts about ms-dos