Is there a way to copy a DOS screen to a text file via a batch file, after it's displayed in the command window?
C:\batch>type timrob.bat
@echo off
type timrob.txt
echo. >> timrob.txt
type timrob.txt >> timrob2.txt
echo. >> timrob2.txt
type timrob2.txt
Output:C:\batch>timrob.bat
Copy DOS screen after it's Displayed
Is there a way to copy a DOS screen to a text file via a batch file,
after it's displayed in the command window?
I'm running a batch file, if one of the commands fails, I only want
to log the DOS screen if it fails.
I know how to start a log from the beginning, but that's one more
process I don't want to run if not necessary.
Copy DOS screen after it's Displayed
Is there a way to copy a DOS screen to a text file via a batch file,
after it's displayed in the command window?
I'm running a batch file, if one of the commands fails, I only want
to log the DOS screen if it fails.
I know how to start a log from the beginning, but that's one more
process I don't want to run if not necessary.
Copy DOS screen after it's Displayed
Is there a way to copy a DOS screen to a text file via a batch file,
after it's displayed in the command window?
I'm running a batch file, if one of the commands fails, I only want
to log the DOS screen if it fails.
I know how to start a log from the beginning, but that's one more
process I don't want to run if not necessary.
C:\batch>