I'm not sure this topic was resolved, or if the OP found it helpful. To reiterate what Foxidrive said with an example:
:save
(
echo %health%
echo %bees%
)>textfile.txt
:load
(
set /p health=
set /p bees=
)<textfile.txt
Use "Echo" to set the variable, "set /p" to load it. Also NOTE the direction of the carrots. ">" to save, "<" to load. Hope that helps!