- May
- 13,215
- 180
I have a rather long conditional expression which must appear several times in a BTM file. My first, simple, attempt at putting a conditional expression in a variable failed (se below) is there any way to do it?
Code:
v:\> set condition=`%a == %b`
v:\> set condition
%a == %b
v:\> set a=1
v:\> set b=1
v:\> echo %condition
1 == 1
v:\> if %condition echo yes
v:\>