Hello Rex!
setdos/x-4
set x=%%
echo %x=
This batch IMHO should print "%=", but it prints nothing instead. If x is
assigned a value other than % 4os2 correctly prints it followed by a = sign.
Inserting extra %'s (i.e. echo %x%=) won't help. Looks like separator chars
are analyzed too early - before setdos/x-4 can affect parsing:
echo %x+echo 2
is parsed as
echo %+ echo 2
and prints
ECHO is OFF
2
instead of
%+echo 2
as it should.
4os2 3.01a and 4dos 6.01a
:), Leo
--- lvm@belcom.ru <- use english here!
---------------
* Origin: - The Endless Quest - (2:5020/293)
|