I'm wanting to check the first word of the TCC window (tab) title. From the prompt I can: > echo "%_wintitle" "nibuild (16.1.0f4) - mx Build Services" > echo "%@word[0,%_wintitle]" "nibuild" Which is what I expect. Then I try this as a conditional: > if "%@word[0,%_wintitle]" == "nibuild" echo yes TCC: Variable loop Usage : IF [/I] [NOT] condition [.AND. | .OR. | .XOR. [NOT] condition ...] command Which is not what I expect. What I ended up doing to make this work is: > setlocal & set thetitle=%@word[0,%_wintitle] & if "%thetitle" == "nibuild" echo yes & endlocal And this does work for me. So I'm posting this to find out if this is a bug or if I'm doing something wrong with my conditional. Thanks!