First of all this command:
cmd /c D:\mytiff.tiff
does nothing more then invoking the open command that is associated with the .tiff extension. Users can assign any application to an extension with the assoc
command. You might get surprising results if users tinkered with that. Looking up what drives the viewing of .tiff I find in the registry for HKCR\TIFImage.Document\shell\open\command
%SystemRoot%\System32\rundll32.exe "%ProgramFiles%\Windows Photo Gallery\PhotoViewer.dll", ImageView_Fullscreen %1
The %1 in there depicts the filename. PhotoViewer.dll doesn't take any other arguments so you can't control which page should be shown.
To answer your question: You can't control which page to show with the tools available on a plain Windows box.
My advice would be to use the commandline found in the registry key to start the PhotoViewer with the file you want to show.
Once the PhotoViewer is running use Sendkeys commands (examples depending on your choice of programming language can be found here or here or here) to move to the specific page. Not awesome, but might work for your purpose.
One alternative is to find an Tiff Viewer that does support commandline arguments to show a specific page. You need to bundle your app then with this external viewer. Another alternative is to use a tool like Imagemagick and convert the Tiff to a PDF first. From there you already know how to show a specific page.
cmd
line. Should i delete my question and reask about it?