@TMP[n[,id]] :  Returns line n from the TMP device. The first line is numbered 0. The string **EOC** is returned for all line numbers beyond the end of the TMP buffer.


The second parameter (0-9) specifies the TMP device you want to use (TMP0: - TMP9:).


Numeric input may be entered in either decimal format (a sequence of 0-9 digits) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).




echo %@tmp[0,0]


if "%@tmp[2,1]" eq "**EOC**" echo No more data in TMP1:


rem Return the first line in TMP7:

echo %@tmp[0,7]