I'm using
TCC 13.01.31 x64 Windows Vista [Version 6.0.6002]
This batch file
REM tcc_ex.bat
set myp=d:
%myp%\bat\xn.bat &
doesn't work, because the variable %myp is not expanded:
s:\>tcc_ex
set myp=d:
DETACH %myp%\bat\xn.bat
The process ID is 6340
But if the "&" is removed then the resulting batch file
REM tcc_ex.bat
set myp=d:
%myp%\bat\xn.bat
calls d:\bat\xn.bat and works as expected.
(This is a simplified example.)
Is this a bug?
---Nick Higham
TCC 13.01.31 x64 Windows Vista [Version 6.0.6002]
This batch file
REM tcc_ex.bat
set myp=d:
%myp%\bat\xn.bat &
doesn't work, because the variable %myp is not expanded:
s:\>tcc_ex
set myp=d:
DETACH %myp%\bat\xn.bat
The process ID is 6340
But if the "&" is removed then the resulting batch file
REM tcc_ex.bat
set myp=d:
%myp%\bat\xn.bat
calls d:\bat\xn.bat and works as expected.
(This is a simplified example.)
Is this a bug?
---Nick Higham