@TMPWN[id, string] : Writes the string to the specified TMP device (0 - 9). Returns 0 if the operation was successful.

 

Examples:

 

if "%@tmpwn[2, save this line]" eq "0" echo Saved to TMP2:

Saved to TMP2: