- May
- 13,199
- 180
I'm accustomed to seeing all that my logon script does because it starts with @ECHO ON. I don't any more. I don't restart often so I can't say how new this behavior is, but it is new. I have whittled it down to the following test BTM.
Here's its output.
No further commands are echoed! Missing are "echo foo", "echo 1", and "echo 2".
Compare it to this (with @EXECSTR removed).
Output:
Code:
@echo on
iff "%@execstr[netstat -ano]" == "" then
echo foo
endiff
echo 1
echo 2
Here's its output.
Code:
iff "%@execstr[netstat -ano]" == "" then
foo
1
2
No further commands are echoed! Missing are "echo foo", "echo 1", and "echo 2".
Compare it to this (with @EXECSTR removed).
Code:
@echo on
iff 1 == 1 then
echo foo
endiff
echo 1
echo 2
Output:
Code:
iff 1 == 1 then
echo foo
foo
echo 1
1
echo 2
2