for /F "tokens=*" %i in ('temperature') do prismcom.exe usb %i
If running in a batch file, use %%i
instead of just %i
(in both places).Reference
http://stackoverflow.com/questions/14574170/how-do-i-use-a-pipe-to-redirect-the-output-of-one-command-to-the-input-of-anothe