How do I save a batch file output?

How do I save a batch file output?
Answer
Logging in is possible in Batch Script by using the redirection command.
  1. Syntax. test.bat > testlog.txt 2> testerrors.txt.
  2. Example. Create a file called test. bat and enter the following command in the file. …
  3. Output. If the command with the above test.bat file is run as test.bat > testlog.txt 2> testerrors.txt.
 

Tìm kiếm

Back
Top