Archive
Posts Tagged ‘redirect’
Redirecting output of batch file from the inside
2016/05/24
Leave a comment
Calling a label in a batch file is useful to redirect (for logging) the output of the batch file to a file from inside that same batch file, without needing to author a separate batch file to do the redirect of standard output.
@echo off
call :process > update_cxml.log
goto :EOF:process
…
(Revised previous version of this post)