Search code examples
batch-filebatch-processingbatch-renamebatch-updates

How to write standard error in text file using batch command


For one file it's showing standard error on console i.e. command prompt. I want to print it on text file.


Solution

  • some_file.exe >> text.file 2>&1
    

    this will print all output to text file.For more info.