KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
How can I run a command-line application in the Windows command prompt and have the output both displayed and redirected to a file at the same time? If, for example, I were to run the command dir > test.txt , this would redirect output to a file called test.txt without displaying the results. How could I write a command to display the output and redirect output to a file in the Windows command prompt, similar to the tee command on Unix?
Tags (comma-separated)
Save Edits
Cancel