you might consider adding another line, to prevent game crashes due to variables being set wrong , say like an item that dident exist.. this is what i came up with, well something similar to prevent crashes in my game using the teleporter
for /f "tokens=1*" %%a in ('type data\item\items.txt ^| find "ID%ID%"') do if "%%a%%b"=="%ID%" (CLS & GOTO TRUE) ELSE CLS&echo Invalid Item&pause>nul&Goto Start