- Nov
- 21
- 0
Hello,
I've been one of your loyal customers for years (since 4OS2 and 4DOS). I just received TCC36, and I have a script that has been working for years but is now returning an “ENDIFF invalid command” error.
for %%i in (ShutAbor Shutdown ShutImme StartRes Startup) do (
set fin=%%i.sqi
set ext=sql
gosub cvt
iff not %rc == 0 then
quit %rc
else
move %fout ..\Bin | tee /A ..\Log\Create.log
copy %%i.btm ..\Bin | tee /A ..\Log\Create.log
endiff
)
Thanks.
I've been one of your loyal customers for years (since 4OS2 and 4DOS). I just received TCC36, and I have a script that has been working for years but is now returning an “ENDIFF invalid command” error.
for %%i in (ShutAbor Shutdown ShutImme StartRes Startup) do (
set fin=%%i.sqi
set ext=sql
gosub cvt
iff not %rc == 0 then
quit %rc
else
move %fout ..\Bin | tee /A ..\Log\Create.log
copy %%i.btm ..\Bin | tee /A ..\Log\Create.log
endiff
)
Thanks.