Added hardware listner utils from http://tombuntu.com/index.php/2008/01/31/dig-up-system-information-using-the-terminal/
-*- outline -*-* CMD tricks. $ set /p TOOLOUTPUT= < temp.txt $ for /f "tokens=*" %%i in ('%~dp0sometool.exe') do set TOOLOUTPUT=%%i $ for /f "tokens=1 delims=" %%s in (users.txt) do (echo %%S & command "%%S") >> outputfile.txt