結果 : batch run command and save output to variable