結果 : batch save result of command to variable