Executing this BTM
results in a CommandLog - TCCommandLog(AftVarExp).txt" - that looks like this.
The echox command is missing.
Code:
@echo off
setlocal
log /E /w "E:\Floppy\TCErrorLog.txt"
log /A /w "E:\Floppy\TCLogAll(Output).txt"
log /w "E:\Floppy\TCCommandLog(AftVarExp).txt"
Echo Good Morning
Echox Good Afternoon
echos Good night
echo !
:END
endlocal
log OFF
log /A OFF
log /E OFF
results in a CommandLog - TCCommandLog(AftVarExp).txt" - that looks like this.
Code:
[ 8/17/26 12:18:17p][30588] Echo Good Morning
[ 8/17/26 12:18:17p][30588] echos Good night
[ 8/17/26 12:18:17p][30588] echo !
[ 8/17/26 12:18:17p][30588] endlocal
[ 8/17/26 12:18:17p][30588] MapExe /D /N * >& nul
[ 8/17/26 12:18:17p][30588] log OFF
The echox command is missing.