Is there a method of writing the output of a shell command to a variable instead of a file?
e.g. SHELL "%COMSPEC%/e:1024 /C PSINFO \\MACHINE >%variable%"