Send output of a batch file to viewer?

I'm using a bat file to use exiftool to output the embedded thumbnail image from a jpg. Is there a way to pipe or redirect the resulting output jpg directly to dopus's viewer? TY
Edit: Alternatively, can I do that from a button within DO that would run the bat file and send the output to either the view pane or the standalone viewer? TY.

Sending it to the standalone viewer would be easiest. Just use the Show command with the path to the extracted jpg.

If you paste what's in the bat file we can give a more detailed suggestion on what to change or add.

Thanks for the response. What I'd like to do is pipe the output to the dopus viewer, without the intermediate step of writing the output to disk. The bat can indeed be used extract the thumbnail:

exiftool -b -ThumbnailImage <filename.ext> >
(the switches just specify to look at the binary of the thumbnail image)

but I'd like to skip the writing disk, like:

exiftool -b -ThumbnailImage <filename.ext> | <path\dopusviewer>

Main purpose is to see if the thumbnail exists in the exif header, and if it properly matches the current appearance of the full jpg.

I also played with creating a button in dopus to do this (actually better than the cmd line bat approach, as I spend a lot of time in dopus), and the extraction bat works fine, but I again don't know how to send it to either the viewer pane or the standalone viewer.

Thanks for all your incredible work on dopus!

You would have to write it to a temp file and tell the viewer to display that, unless you have a RAM disk set up or something (which would probably not be worth it).