I am trying set the correct orientation of all my images.
So I found the cmdline option "/jpg_rotate", which works fine.

The cmdline "i_view64.exe %%i /jpg_rotate=(6,0,1,0,0,0,0,0)" opens irfanview and the image and rotates the image correctly.
But irfanview stays open, till I close it manually (btw: my msdos batch files also stops till I close the windows).

When I use the cmdline "i_view64.exe /cmdexit %%i /jpg_rotate=(6,0,1,0,0,0,0,0)" the windows closes automatically and the batch job continues.
But the file is not changed!

What I am doing wrong?
How to do it correct?

Thanks for any help
Best regards