cmd - Displaying Windows command prompt output and redirecting it to a file -


How can I run a command line application in Windows Command Prompt and output is displayed and redirected in a single file time?

If, for example, I order the command dir> gt; Test.txt , it will redirect the output to a file named test.txt without displaying the result.

How can I write an order to display the output and redirect the output to a file in the Windows Command Prompt, on the UNIX tee command Similar to

I have a file and then in the console to resolve / resolve the output output Was able to find:

  dir> A.txt | Type a.txt  

where DIR is the command on which the output needs to be redirected, a.txt is a file where The output is to store.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -