batch pipe output to variable