DOS command to Display result on console and redirect the output to a file
- by Ammu
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.