1.

Solve : DOS Output?

Answer» <html><body><p>Is there a way to simultaneously  <a href="https://interviewquestions.tuteehub.com/tag/redirect-11579" style="font-weight:bold;" target="_blank" title="Click to know more about REDIRECT">REDIRECT</a> the DOS <a href="https://interviewquestions.tuteehub.com/tag/output-344913" style="font-weight:bold;" target="_blank" title="Click to know more about OUTPUT">OUTPUT</a> to both the printer and a text <a href="https://interviewquestions.tuteehub.com/tag/file-11330" style="font-weight:bold;" target="_blank" title="Click to know more about FILE">FILE</a>?Maybe something like this:<br/><br/> Code: <a>[Select]</a>command &gt; file &amp;&amp; type file<br/>EDIT: It will probably overwrite each time <a href="https://interviewquestions.tuteehub.com/tag/though-1417450" style="font-weight:bold;" target="_blank" title="Click to know more about THOUGH">THOUGH</a>, so the file will only have the most recent command at the <a href="https://interviewquestions.tuteehub.com/tag/top-344925" style="font-weight:bold;" target="_blank" title="Click to know more about TOP">TOP</a>. It won't work if you are trying to make a log. You could subsecquently use &gt;&gt;, but then each time the type command is executed, it will print out the whole log to the screen.</p></body></html>


Discussion

No Comment Found