add command INSIDE batch file to generate text log (launched by double click)
add command INSIDE batch file to generate text log (launched by double click) Advanced thanks to anyone who is stopping by to read this. Here's my scenario: SCENARIO ISSUES Although the file and commands work perfectly for my needs, the results are too long for cmd (even after maximizing buffers in cmd settings); by the time the last command is executed, I can no longer scroll back up to the first commands -- cmd has purged them due to a space limitation. GOAL I would like a way for all of the above to continue as-is (even if I can't read all the way up in CMD) but also to add a command INSIDE the .bat file to SIMULTANEOUSLY output all results to a text file (exactly what appears onscreen: successes, failures, errors -- EVERYTHING) Does such a command exist? Also, if anyone knows a workaround to running out of space in cmd, I would love that too. Thanks again! < Such a command does not exist. You have to use tee, GNUWin or batch version. ...