Added
-------r
argument to specify the output file to redirect the -t command. This is useful in windows batchfiles as -t will not redirect to the console. Now you can redirect to a file and read that for the result. E.g
vhui64.exe is running as a service or in the gui
Put this in a batch file
vhui64.exe -t "LIST" -r "out.txt"
FOR /F "tokens=*" %%i IN (out.txt) DO @ECHO %%i
The for loop reads each line in the output (out.txt) and echos it to the script as an example.
e.g http://stackoverflow.com/questions/206114/batch-files-how-to-read-a-file